mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 16:23:04 +00:00
Use more STL like names: my_class instead of MyClass.
* data/lalr1.cc (LocationStack, LocationType, RhsNumberType) (SemanticStack, SemanticType, StateStack, StateType) (TokenNumberType, Stack, Slice, Traits, Parser::location) (Parser::value): Rename as... (location_stack, location_type, rhs_number_type, semantic_stack) (semantic_type, state_stack, state_type, token_number_type, stack) (slice, traits, parser::yylloc, parser::yylval): these. * tests/calc.at, tests/regression.at, tests/actions.at: Adjust.
This commit is contained in:
@@ -727,15 +727,15 @@ member: STRING
|
||||
AT_LALR1_CC_IF(
|
||||
[/* A C++ error reporting function. */
|
||||
void
|
||||
yy::Parser::error (const Location&, const std::string& m)
|
||||
yy::parser::error (const location&, const std::string& m)
|
||||
{
|
||||
std::cerr << m << std::endl;
|
||||
}
|
||||
|
||||
int
|
||||
yyparse (void)
|
||||
yyparse ()
|
||||
{
|
||||
yy::Parser parser;
|
||||
yy::parser parser;
|
||||
parser.set_debug_level (!!YYDEBUG);
|
||||
return parser.parse ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user