]> git.saurik.com Git - bison.git/commit - ChangeLog-2012
Factor the generation of the (integral) tables bw yacc.c and lalr1.cc.
authorAkim Demaille <demaille@gostai.com>
Tue, 25 Nov 2008 20:25:48 +0000 (21:25 +0100)
committerAkim Demaille <demaille@gostai.com>
Wed, 26 Nov 2008 08:58:50 +0000 (09:58 +0100)
commit0991e29b75f192570b6fac1ba23657ab4f3509ee
tree39fc6fd9808c0549790e5c0015ef1c0c9a1aefd0
parent3d3bc1fe30f356cf674a979409e86ea0f88de4a0
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.
ChangeLog
data/bison.m4
data/c.m4
data/lalr1.cc
data/yacc.c
tests/regression.at