Skip to content

Commit 2353ce7

Browse files
committed
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.
1 parent 9cc76ee commit 2353ce7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

data/skeletons/yacc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,8 +1114,8 @@ yy_lac (yy_state_t *yyesa, yy_state_t **yyes,
11141114
int yytoken;]b4_locations_if([[
11151115
YYLTYPE *yylloc;]])[]b4_lac_if([[
11161116
yy_state_t *yyesa;
1117-
yy_state_t **yyes_p;
1118-
YYPTRDIFF_T *yyes_capacity_p;]])[
1117+
yy_state_t **yyes;
1118+
YYPTRDIFF_T *yyes_capacity;]])[
11191119
} yyparse_context_t;
11201120

11211121
/* Put in YYARG at most YYARGN of the expected tokens given the
@@ -1134,7 +1134,7 @@ yyexpected_tokens (const yyparse_context_t *yyctx,
11341134
if (yyx != YYTERROR && yyx != YYUNDEFTOK)
11351135
{
11361136
{
1137-
int yy_lac_status = yy_lac (yyctx->yyesa, yyctx->yyes_p, yyctx->yyes_capacity_p,
1137+
int yy_lac_status = yy_lac (yyctx->yyesa, yyctx->yyes, yyctx->yyes_capacity,
11381138
yyctx->yyssp, yyx);
11391139
if (yy_lac_status == 2)
11401140
return -2;

0 commit comments

Comments
 (0)