summaryrefslogtreecommitdiff
path: root/test/btyacc/quote_calc4-s.tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/btyacc/quote_calc4-s.tab.c')
-rw-r--r--test/btyacc/quote_calc4-s.tab.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/btyacc/quote_calc4-s.tab.c b/test/btyacc/quote_calc4-s.tab.c
index 6f91ab75800e..a5ebdbc3cbc6 100644
--- a/test/btyacc/quote_calc4-s.tab.c
+++ b/test/btyacc/quote_calc4-s.tab.c
@@ -676,6 +676,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;
@@ -1250,7 +1253,7 @@ case 18:
#line 70 "quote_calc4.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
-#line 1254 "quote_calc4-s.tab.c"
+#line 1257 "quote_calc4-s.tab.c"
default:
break;
}