yacc.c: simplify yyparse_context_t member names

* data/skeletons/yacc.c (yyparse_context_t): Rename yyes_p and
yyes_capacity_p as...
(yyes, yyes_capacity): These.
This commit is contained in:
Akim Demaille
2020-03-04 00:38:14 +01:00
parent 9cc76ee62c
commit 2353ce7216

View File

@@ -1114,8 +1114,8 @@ yy_lac (yy_state_t *yyesa, yy_state_t **yyes,
int yytoken;]b4_locations_if([[
YYLTYPE *yylloc;]])[]b4_lac_if([[
yy_state_t *yyesa;
yy_state_t **yyes_p;
YYPTRDIFF_T *yyes_capacity_p;]])[
yy_state_t **yyes;
YYPTRDIFF_T *yyes_capacity;]])[
} yyparse_context_t;
/* Put in YYARG at most YYARGN of the expected tokens given the
@@ -1134,7 +1134,7 @@ yyexpected_tokens (const yyparse_context_t *yyctx,
if (yyx != YYTERROR && yyx != YYUNDEFTOK)
{
{
int yy_lac_status = yy_lac (yyctx->yyesa, yyctx->yyes_p, yyctx->yyes_capacity_p,
int yy_lac_status = yy_lac (yyctx->yyesa, yyctx->yyes, yyctx->yyes_capacity,
yyctx->yyssp, yyx);
if (yy_lac_status == 2)
return -2;