summaryrefslogtreecommitdiff
path: root/test/btyacc/quote_calc.tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/btyacc/quote_calc.tab.c')
-rw-r--r--test/btyacc/quote_calc.tab.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/btyacc/quote_calc.tab.c b/test/btyacc/quote_calc.tab.c
index 08661fe7be974..092129c038a04 100644
--- a/test/btyacc/quote_calc.tab.c
+++ b/test/btyacc/quote_calc.tab.c
@@ -681,6 +681,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;
@@ -1255,7 +1258,7 @@ case 18:
#line 70 "quote_calc.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
-#line 1259 "quote_calc.tab.c"
+#line 1262 "quote_calc.tab.c"
default:
break;
}