glr.c: fix an unused argument issue
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 4 Jan 2013 15:01:07 +0000 (16:01 +0100)
committerTheophile 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

index faab352..1a545f3 100644 (file)
@@ -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