summaryrefslogtreecommitdiff
path: root/test/yacc/code_error.code.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/yacc/code_error.code.c')
-rw-r--r--test/yacc/code_error.code.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/yacc/code_error.code.c b/test/yacc/code_error.code.c
index a22464c403f21..b117ce6d21cd2 100644
--- a/test/yacc/code_error.code.c
+++ b/test/yacc/code_error.code.c
@@ -170,13 +170,15 @@ extern char *yyname[];
extern char *yyrule[];
#endif
+#if YYDEBUG
int yydebug;
-int yynerrs;
+#endif
int yyerrflag;
int yychar;
YYSTYPE yyval;
YYSTYPE yylval;
+int yynerrs;
/* define the initial stack-sizes */
#ifdef YYSTACKSIZE
@@ -229,7 +231,7 @@ yyerror(const char* s)
{
printf("%s\n", s);
}
-#line 233 "code_error.code.c"
+#line 235 "code_error.code.c"
#if YYDEBUG
#include <stdio.h> /* needed for printf */