summaryrefslogtreecommitdiff
path: root/test/yacc/code_calc.code.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/code_calc.code.c
parent8bb3d1b8fb77d3704e1de225c83b8b66ca673da8 (diff)
Notes
Diffstat (limited to 'test/yacc/code_calc.code.c')
-rw-r--r--test/yacc/code_calc.code.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/yacc/code_calc.code.c b/test/yacc/code_calc.code.c
index 2c04715f57b5..a1d4f4b6c50e 100644
--- a/test/yacc/code_calc.code.c
+++ b/test/yacc/code_calc.code.c
@@ -180,13 +180,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
@@ -259,7 +261,7 @@ yylex(void)
}
return( c );
}
-#line 263 "code_calc.code.c"
+#line 265 "code_calc.code.c"
#if YYDEBUG
#include <stdio.h> /* needed for printf */
@@ -518,7 +520,7 @@ case 18:
#line 67 "code_calc.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
-#line 522 "code_calc.code.c"
+#line 524 "code_calc.code.c"
}
yystack.s_mark -= yym;
yystate = *yystack.s_mark;