diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2017-05-31 19:27:37 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2017-05-31 19:27:37 +0000 |
commit | 8bb3d1b8fb77d3704e1de225c83b8b66ca673da8 (patch) | |
tree | 98b84eab1af57131ce8a431773f562e2374cdf6b /test/btyacc/code_calc.code.c | |
parent | 8992b86776240587bd76f234d50d01bb6e32b9f4 (diff) |
Notes
Diffstat (limited to 'test/btyacc/code_calc.code.c')
-rw-r--r-- | test/btyacc/code_calc.code.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/btyacc/code_calc.code.c b/test/btyacc/code_calc.code.c index 1b5cf0f67fb7..e2e4c1245472 100644 --- a/test/btyacc/code_calc.code.c +++ b/test/btyacc/code_calc.code.c @@ -530,6 +530,9 @@ YYPARSE_DECL() if (yydebug) fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX); #endif +#if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED) + memset(yyerror_loc_range, 0, sizeof(yyerror_loc_range)); +#endif #if YYBTYACC yyps = yyNewState(0); if (yyps == 0) goto yyenomem; @@ -1104,7 +1107,7 @@ case 18: #line 67 "code_calc.y" { yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; } break; -#line 1108 "code_calc.code.c" +#line 1111 "code_calc.code.c" default: break; } |