mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 18:53:04 +00:00
regen
This commit is contained in:
@@ -1606,8 +1606,10 @@ yyexpected_tokens (const yyparse_context_t *yyctx,
|
|||||||
|
|
||||||
int yyx;
|
int yyx;
|
||||||
for (yyx = 0; yyx < YYNTOKENS; ++yyx)
|
for (yyx = 0; yyx < YYNTOKENS; ++yyx)
|
||||||
if (yyx != YYSYMBOL_YYERROR && yyx != YYSYMBOL_YYUNDEF)
|
{
|
||||||
switch (yy_lac (yyctx->yyesa, yyctx->yyes, yyctx->yyes_capacity, yyctx->yyssp, yyx))
|
yysymbol_type_t yysym = YY_CAST (yysymbol_type_t, yyx);
|
||||||
|
if (yysym != YYSYMBOL_YYERROR && yysym != YYSYMBOL_YYUNDEF)
|
||||||
|
switch (yy_lac (yyctx->yyesa, yyctx->yyes, yyctx->yyes_capacity, yyctx->yyssp, yysym))
|
||||||
{
|
{
|
||||||
case YYNOMEM:
|
case YYNOMEM:
|
||||||
return YYNOMEM;
|
return YYNOMEM;
|
||||||
@@ -1619,7 +1621,8 @@ yyexpected_tokens (const yyparse_context_t *yyctx,
|
|||||||
else if (yycount == yyargn)
|
else if (yycount == yyargn)
|
||||||
return 0;
|
return 0;
|
||||||
else
|
else
|
||||||
yyarg[yycount++] = yyx;
|
yyarg[yycount++] = yysym;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return yycount;
|
return yycount;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user