projects
/
platform
/
upstream
/
byacc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 20170430
[platform/upstream/byacc.git]
/
test
/
btyacc
/
quote_calc2.tab.c
diff --git
a/test/btyacc/quote_calc2.tab.c
b/test/btyacc/quote_calc2.tab.c
index
5378828
..
f983204
100644
(file)
--- a/
test/btyacc/quote_calc2.tab.c
+++ b/
test/btyacc/quote_calc2.tab.c
@@
-681,6
+681,9
@@
YYPARSE_DECL()
if (yydebug)
fprintf(stderr, "%sdebug[<# of symbols on state stack>]\n", YYPREFIX);
#endif
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;
#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 70 "quote_calc2.y"
{ yyval = base * yystack.l_mark[-1] + yystack.l_mark[0]; }
break;
-#line 12
59
"quote_calc2.tab.c"
+#line 12
62
"quote_calc2.tab.c"
default:
break;
}
default:
break;
}