]> git.saurik.com Git - bison.git/commit - data/lalr1.cc
%parse-param support for lalr1.cc.
authorAlexandre Duret-Lutz <adl@gnu.org>
Wed, 14 May 2003 18:41:48 +0000 (18:41 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Wed, 14 May 2003 18:41:48 +0000 (18:41 +0000)
commitcaf37a366683f5a2dabbda4ba13535c168d6b167
treee2b97e15d7aec345492f12287a1a128b15e02541
parent3ab370773d0c0faaf555e2b3f1687f0e50d2de3e
%parse-param support for lalr1.cc.

* data/lalr1.cc (b4_parse_param_decl, b4_parse_param_cons,
b4_cc_constructor_calls, b4_cc_constructor_call,
b4_parse_param_vars, b4_cc_var_decls, b4_cc_var_decl): New m4
definitions.
(yy::b4_parser_class_name::b4_parser_class_name): Take extra
parse-param arguments.
(yy::b4_parser_class_name): Declare instance variables to
hold parse-param arguments.
* tests/calc.at: s/value/semantic_value/ because value clashes
with a member of yy::b4_parser_class_name.  Adjust C++ code
to handle %parse-param.  Enable %parse-param test in C++.
ChangeLog
data/lalr1.cc
tests/calc.at