mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 17:23:02 +00:00
lalr1.cc: minor changes.
* data/c++.m4: Space changes. * data/lalr1.cc (yysyntax_error_): Adjust signature.
This commit is contained in:
@@ -310,7 +310,7 @@ m4_define([b4_yytranslate_define],
|
|||||||
const token_number_type
|
const token_number_type
|
||||||
translate_table[] =
|
translate_table[] =
|
||||||
{
|
{
|
||||||
]b4_translate[
|
]b4_translate[
|
||||||
};
|
};
|
||||||
const unsigned int user_token_number_max_ = ]b4_user_token_number_max[;
|
const unsigned int user_token_number_max_ = ]b4_user_token_number_max[;
|
||||||
const token_number_type undef_token_ = ]b4_undef_token_number[;
|
const token_number_type undef_token_ = ]b4_undef_token_number[;
|
||||||
|
|||||||
@@ -967,7 +967,7 @@ m4_ifdef([b4_lex_param], [, ]b4_lex_param)));])[
|
|||||||
std::string
|
std::string
|
||||||
]b4_parser_class_name[::yysyntax_error_ (]dnl
|
]b4_parser_class_name[::yysyntax_error_ (]dnl
|
||||||
b4_error_verbose_if([state_type yystate, int yytoken],
|
b4_error_verbose_if([state_type yystate, int yytoken],
|
||||||
[int, int])[)
|
[state_type, int])[)
|
||||||
{
|
{
|
||||||
std::string yyres;]b4_error_verbose_if([[
|
std::string yyres;]b4_error_verbose_if([[
|
||||||
int yyn = yypact_[yystate];
|
int yyn = yypact_[yystate];
|
||||||
|
|||||||
Reference in New Issue
Block a user