diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-03-04 00:38:14 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-03-05 07:26:50 +0100 |
commit | 2353ce721637c7a2e42bb384beb1d6fd7ece4aa5 (patch) | |
tree | 15f99e10a7949e0be1021b6be7907056a671fdc4 /data | |
parent | 9cc76ee62c7e634b02532258ec68668f8d2f9781 (diff) | |
download | bison-2353ce721637c7a2e42bb384beb1d6fd7ece4aa5.tar.gz |
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.
Diffstat (limited to 'data')
-rw-r--r-- | data/skeletons/yacc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/skeletons/yacc.c b/data/skeletons/yacc.c index 0cc2cf1a..7ef0b218 100644 --- a/data/skeletons/yacc.c +++ b/data/skeletons/yacc.c @@ -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; |