mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
style: rename yysyntax_error_arguments as yy_syntax_error_arguments
It's a private implementation detail. * NEWS, data/skeletons/glr.c, data/skeletons/lalr1.cc, * data/skeletons/yacc.c, doc/bison.texi: here.
This commit is contained in:
@@ -1323,8 +1323,8 @@ yytnamerr (char *yyres, const char *yystr)
|
||||
]])[
|
||||
|
||||
static int
|
||||
yysyntax_error_arguments (const yypcontext_t *yyctx,
|
||||
yysymbol_type_t yyarg[], int yyargn)
|
||||
yy_syntax_error_arguments (const yypcontext_t *yyctx,
|
||||
yysymbol_type_t yyarg[], int yyargn)
|
||||
{
|
||||
/* Actual size of YYARG. */
|
||||
int yycount = 0;
|
||||
@@ -1396,7 +1396,7 @@ yysyntax_error (YYPTRDIFF_T *yymsg_alloc, char **yymsg,
|
||||
YYPTRDIFF_T yysize = 0;
|
||||
|
||||
/* Actual size of YYARG. */
|
||||
int yycount = yysyntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
|
||||
int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
|
||||
if (yycount == YYNOMEM)
|
||||
return YYNOMEM;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user