summaryrefslogtreecommitdiff
path: root/test/yacc/pure_error.tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/yacc/pure_error.tab.c')
-rw-r--r--test/yacc/pure_error.tab.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/yacc/pure_error.tab.c b/test/yacc/pure_error.tab.c
index a52a1607b2808..91bbed670c151 100644
--- a/test/yacc/pure_error.tab.c
+++ b/test/yacc/pure_error.tab.c
@@ -202,8 +202,9 @@ static const char *const error_rule[] = {
};
#endif
+#if YYDEBUG
int yydebug;
-int yynerrs;
+#endif
/* define the initial stack-sizes */
#ifdef YYSTACKSIZE
@@ -254,7 +255,7 @@ yyerror(const char* s)
{
printf("%s\n", s);
}
-#line 258 "pure_error.tab.c"
+#line 259 "pure_error.tab.c"
#if YYDEBUG
#include <stdio.h> /* needed for printf */
@@ -321,6 +322,7 @@ YYPARSE_DECL()
int yychar;
YYSTYPE yyval;
YYSTYPE yylval;
+ int yynerrs;
/* variables for the parser stack */
YYSTACKDATA yystack;