summaryrefslogtreecommitdiff
path: root/test/yacc/calc.tab.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2020-06-22 22:42:20 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2020-06-22 22:42:20 +0000
commit5dd99b746d26517ef72ee914e30ece2761079321 (patch)
tree30d932dc7c9813aee58587bffceac1350e1ff900 /test/yacc/calc.tab.c
parent8bb3d1b8fb77d3704e1de225c83b8b66ca673da8 (diff)
Notes
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;