mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 01:33:03 +00:00
glr.c: fix an unused argument issue
* data/glr.c (yyuserAction): "Use" yyrhslen, as in variant mode, we might not use it.
This commit is contained in:
committed by
Theophile Ranquet
parent
bc19eadd65
commit
39ad6cc6ac
@@ -771,7 +771,8 @@ yyuserAction (yyRuleNum yyn, size_t yyrhslen, yyGLRStackItem* yyvsp,
|
|||||||
(yystackp->yysplitPoint == YY_NULL);
|
(yystackp->yysplitPoint == YY_NULL);
|
||||||
int yylow;
|
int yylow;
|
||||||
]b4_parse_param_use([yyvalp], [yylocp])dnl
|
]b4_parse_param_use([yyvalp], [yylocp])dnl
|
||||||
[# undef yyerrok
|
[ YYUSE (yyrhslen);
|
||||||
|
# undef yyerrok
|
||||||
# define yyerrok (yystackp->yyerrState = 0)
|
# define yyerrok (yystackp->yyerrState = 0)
|
||||||
# undef YYACCEPT
|
# undef YYACCEPT
|
||||||
# define YYACCEPT return yyaccept
|
# define YYACCEPT return yyaccept
|
||||||
|
|||||||
Reference in New Issue
Block a user