mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 21:03:04 +00:00
Rely on the state stack to display reduction traces.
To display rhs symbols before a reduction, we used information about the rule reduced, which required the tables yyrhs and yyprhs. Now use rely only on the state stack to get the same information. * data/lalr1.cc (b4_rhs_data, b4_rhs_state): New. Use them. (parser::yyrhs_, parser::yyprhs_): Remove. (parser::yy_reduce_print_): Use the state stack.
This commit is contained in:
12
ChangeLog
12
ChangeLog
@@ -1,3 +1,15 @@
|
||||
2008-11-09 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Rely on the state stack to display reduction traces.
|
||||
To display rhs symbols before a reduction, we used information about the rule
|
||||
reduced, which required the tables yyrhs and yyprhs. Now use rely only on the
|
||||
state stack to get the same information.
|
||||
|
||||
* data/lalr1.cc (b4_rhs_data, b4_rhs_state): New.
|
||||
Use them.
|
||||
(parser::yyrhs_, parser::yyprhs_): Remove.
|
||||
(parser::yy_reduce_print_): Use the state stack.
|
||||
|
||||
2008-11-09 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Fuse yyval and yyloc into yylhs.
|
||||
|
||||
Reference in New Issue
Block a user