mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23: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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user