mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
lalr1.cc: factor the yytranslate_ invocation in make_SYMBOLS.
* data/c++.m4, data/lalr1.cc (parser::symbol_type): Change the constructor to take a token_type instead of the (internal) symbol number. Call yytranslate_. * data/variant.hh (b4_symbol_constructor_define_): Therefore, don't call yytranslate_ here.
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -1,3 +1,13 @@
|
||||
2009-09-16 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
lalr1.cc: factor the yytranslate_ invocation in make_SYMBOLS.
|
||||
* data/c++.m4, data/lalr1.cc (parser::symbol_type): Change the
|
||||
constructor to take a token_type instead of the (internal) symbol
|
||||
number.
|
||||
Call yytranslate_.
|
||||
* data/variant.hh (b4_symbol_constructor_define_): Therefore,
|
||||
don't call yytranslate_ here.
|
||||
|
||||
2009-09-16 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
TODO: statistics.
|
||||
|
||||
Reference in New Issue
Block a user