mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 17:53:02 +00:00
* data/glr.c (yyuserAction): Fix uninitialized variable that caused
a valgrind failure. Problem reported by twlevo@xs4all.nl.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2005-07-13 Paul Hilfinger <hilfingr@CS.Berkeley.EDU>
|
||||||
|
|
||||||
|
* data/glr.c (yyuserAction): Fix uninitialized variable that caused
|
||||||
|
a valgrind failure. Problem reported by twlevo@xs4all.nl.
|
||||||
|
|
||||||
2005-07-13 Paul Eggert <eggert@cs.ucla.edu>
|
2005-07-13 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
* PACKAGING: New file, suggested by Bruno Haible and taken from
|
* PACKAGING: New file, suggested by Bruno Haible and taken from
|
||||||
|
|||||||
@@ -781,7 +781,8 @@ yyuserAction (yyRuleNum yyn, int yyrhslen, yyGLRStackItem* yyvsp,
|
|||||||
else
|
else
|
||||||
*yyvalp = yyvsp[YYFILL (1-yyrhslen)].yystate.yysemantics.yysval;
|
*yyvalp = yyvsp[YYFILL (1-yyrhslen)].yystate.yysemantics.yysval;
|
||||||
YYLLOC_DEFAULT (*yylocp, yyvsp - yyrhslen, yyrhslen);
|
YYLLOC_DEFAULT (*yylocp, yyvsp - yyrhslen, yyrhslen);
|
||||||
]
|
]b4_location_if([[ yystack->yyerror_range[1].yystate.yyloc = *yylocp;
|
||||||
|
]])
|
||||||
switch (yyn)
|
switch (yyn)
|
||||||
{
|
{
|
||||||
b4_actions
|
b4_actions
|
||||||
|
|||||||
Reference in New Issue
Block a user