Imported Upstream version 20170430
[platform/upstream/byacc.git] / test / btyacc / quote_calc2.tab.c
index 5378828..f983204 100644 (file)
@@ -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_calc2.y"
        {  yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
 break;
-#line 1259 "quote_calc2.tab.c"
+#line 1262 "quote_calc2.tab.c"
     default:
         break;
     }