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:
Akim Demaille
2020-04-04 19:28:30 +02:00
parent 76e11b5a3e
commit 4e26809ab9
5 changed files with 14 additions and 14 deletions

View File

@@ -2151,8 +2151,8 @@ yypcontext_location (const yyGLRStack *yystackp)
}]])],
[detailed\|verbose],
[[static int
yysyntax_error_arguments (const yyGLRStack* yystackp,
yysymbol_type_t yyarg[], int yyargn)
yy_syntax_error_arguments (const yyGLRStack* yystackp,
yysymbol_type_t yyarg[], int yyargn)
{
yysymbol_type_t yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
/* Actual size of YYARG. */
@@ -2225,7 +2225,7 @@ yyreportSyntaxError (yyGLRStack* yystackp]b4_user_formals[)
/* Actual size of YYARG. */
int yycount
= yysyntax_error_arguments (yystackp, yyarg, YYARGS_MAX);
= yy_syntax_error_arguments (yystackp, yyarg, YYARGS_MAX);
if (yycount == YYNOMEM)
yyMemoryExhausted (yystackp);