mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
Factor the generation of the (integral) tables bw yacc.c and lalr1.cc.
* data/lalr1.cc (b4_tables_map): Move to... * data/bison.m4: here. Update the comment for yytable during the flight. (b4_tables_declare, b4_tables_define): New. * data/lalr1.cc: Use them. * data/c.m4 (b4_table_define): New. * data/yacc.c: Use b4_tables_define instead of output the tables by hand. * tests/regression.at (Web2c Actions): Adjust the expected output, the order of the tables changed.
This commit is contained in:
14
ChangeLog
14
ChangeLog
@@ -1,3 +1,17 @@
|
||||
2008-11-26 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Factor the generation of the (integral) tables bw yacc.c and lalr1.cc.
|
||||
* data/lalr1.cc (b4_tables_map): Move to...
|
||||
* data/bison.m4: here.
|
||||
Update the comment for yytable during the flight.
|
||||
(b4_tables_declare, b4_tables_define): New.
|
||||
* data/lalr1.cc: Use them.
|
||||
* data/c.m4 (b4_table_define): New.
|
||||
* data/yacc.c: Use b4_tables_define instead of output the tables
|
||||
by hand.
|
||||
* tests/regression.at (Web2c Actions): Adjust the expected output,
|
||||
the order of the tables changed.
|
||||
|
||||
2008-11-26 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Get rid of (yy)rhs and (yy)prhs.
|
||||
|
||||
Reference in New Issue
Block a user