]> git.saurik.com Git - bison.git/commit
Simplify the C++ parser constructor.
authorAkim Demaille <akim@epita.fr>
Wed, 15 Dec 2004 16:18:12 +0000 (16:18 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 15 Dec 2004 16:18:12 +0000 (16:18 +0000)
commita3cb6248932cfea1850ac4b981be80b36a98cb68
tree9a12e00dbde914c1dd33bff60ed70f236718cbe7
parent07fed89197b23dc740ed9136741674504c4d8fdc
Simplify the C++ parser constructor.
* data/lalr1.cc (debug_): Rename as...
(yydebug_): so that the parser's internals are always in the yy*
pseudo namespace.
Adjust uses.
(b4_parse_param_decl): Remove the leading comma as it is now only
called as unique argument list.
(Parser::Parser): Remove the constructor accepting a location and
an initial debugging level.
Remove from the other ctor the argument for the debugging level.
(debug_level_type, debug_level, set_debug_level): New.
* tests/actions.at, tests/calc.at, tests/regression.at: Adjust
constructor calls.
ChangeLog
data/lalr1.cc
tests/actions.at
tests/calc.at
tests/regression.at