projects
/
platform
/
upstream
/
bison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc19ead
)
glr.c: fix an unused argument issue
author
Akim Demaille
<akim@lrde.epita.fr>
Fri, 4 Jan 2013 15:01:07 +0000
(16:01 +0100)
committer
Theophile Ranquet
<ranquet@lrde.epita.fr>
Fri, 11 Jan 2013 17:57:09 +0000
(18:57 +0100)
* data/glr.c (yyuserAction): "Use" yyrhslen, as in variant mode, we might
not use it.
data/glr.c
patch
|
blob
|
history
diff --git
a/data/glr.c
b/data/glr.c
index
faab352
..
1a545f3
100644
(file)
--- a/
data/glr.c
+++ b/
data/glr.c
@@
-771,7
+771,8
@@
yyuserAction (yyRuleNum yyn, size_t yyrhslen, yyGLRStackItem* yyvsp,
(yystackp->yysplitPoint == YY_NULL);
int yylow;
]b4_parse_param_use([yyvalp], [yylocp])dnl
-[# undef yyerrok
+[ YYUSE (yyrhslen);
+# undef yyerrok
# define yyerrok (yystackp->yyerrState = 0)
# undef YYACCEPT
# define YYACCEPT return yyaccept