summaryrefslogtreecommitdiff
path: root/data/skeletons/lalr1.cc
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-04-04 19:28:30 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-04-05 08:56:21 +0200
commit4e26809ab9eaf18beb15f5af3331f42c782f9572 (patch)
tree11be9dce0cbb8c3dce3e699c71ad75145c44bfc0 /data/skeletons/lalr1.cc
parent76e11b5a3e1737b20110ba367c6a55c1b5df031a (diff)
downloadbison-4e26809ab9eaf18beb15f5af3331f42c782f9572.tar.gz
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.
Diffstat (limited to 'data/skeletons/lalr1.cc')
-rw-r--r--data/skeletons/lalr1.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/skeletons/lalr1.cc b/data/skeletons/lalr1.cc
index 169df09b..ca4ac9cb 100644
--- a/data/skeletons/lalr1.cc
+++ b/data/skeletons/lalr1.cc
@@ -279,8 +279,8 @@ m4_define([b4_shared_declarations],
void yyreport_syntax_error (const context& yyctx) const;]],
[detailed\|verbose], [[
/// The arguments of the error message.
- int yysyntax_error_arguments_ (const context& yyctx,
- symbol_type_type yyarg[], int yyargn) const;
+ int yy_syntax_error_arguments_ (const context& yyctx,
+ symbol_type_type yyarg[], int yyargn) const;
/// Generate an error message.
/// \param yyctx the context in which the error occurred.
@@ -1422,8 +1422,8 @@ b4_dollar_popdef])[]dnl
}]])b4_parse_error_bmatch([detailed\|verbose], [[
int
- ]b4_parser_class[::yysyntax_error_arguments_ (const context& yyctx,
- symbol_type_type yyarg[], int yyargn) const
+ ]b4_parser_class[::yy_syntax_error_arguments_ (const context& yyctx,
+ symbol_type_type yyarg[], int yyargn) const
{
/* There are many possibilities here to consider:
- If this state is a consistent state with a default action, then
@@ -1473,7 +1473,7 @@ b4_dollar_popdef])[]dnl
enum { YYARGS_MAX = 5 };
// Arguments of yyformat.
symbol_type_type yyarg[YYARGS_MAX];
- int yycount = yysyntax_error_arguments_ (yyctx, yyarg, YYARGS_MAX);
+ int yycount = yy_syntax_error_arguments_ (yyctx, yyarg, YYARGS_MAX);
char const* yyformat = YY_NULLPTR;
switch (yycount)