Imported Upstream version 20170430
[platform/upstream/byacc.git] / test / btyacc / inherit1.tab.c
index f454a81..5ff8f34 100644 (file)
@@ -563,6 +563,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;
@@ -1125,7 +1128,7 @@ case 11:
 #line 71 "inherit1.y"
        { yyval.nlist = yystack.l_mark[0].nlist; }
 break;
-#line 1129 "inherit1.tab.c"
+#line 1132 "inherit1.tab.c"
     default:
         break;
     }