From 2353ce721637c7a2e42bb384beb1d6fd7ece4aa5 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Wed, 4 Mar 2020 00:38:14 +0100 Subject: 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. --- data/skeletons/yacc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data') 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; -- cgit v1.2.1