summaryrefslogtreecommitdiff
path: root/test/yacc/calc.tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/yacc/calc.tab.c')
-rw-r--r--test/yacc/calc.tab.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/yacc/calc.tab.c b/test/yacc/calc.tab.c
index 6ce2cd43b1f7f..817bd006f8c6f 100644
--- a/test/yacc/calc.tab.c
+++ b/test/yacc/calc.tab.c
@@ -275,13 +275,15 @@ static const char *const calc_rule[] = {
};
#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
@@ -350,7 +352,7 @@ yylex(void)
}
return( c );
}
-#line 354 "calc.tab.c"
+#line 356 "calc.tab.c"
#if YYDEBUG
#include <stdio.h> /* needed for printf */
@@ -609,7 +611,7 @@ case 18:
#line 63 "calc.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
-#line 613 "calc.tab.c"
+#line 615 "calc.tab.c"
}
yystack.s_mark -= yym;
yystate = *yystack.s_mark;