Imported Upstream version 20170430
[platform/upstream/byacc.git] / test / btyacc / quote_calc-s.tab.c
index 1f84f7d..25305be 100644 (file)
@@ -675,6 +675,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;
@@ -1249,7 +1252,7 @@ case 18:
 #line 70 "quote_calc.y"
        {  yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
 break;
-#line 1253 "quote_calc-s.tab.c"
+#line 1256 "quote_calc-s.tab.c"
     default:
         break;
     }