]> git.saurik.com Git - bison.git/commit - data/glr.cc
Use b4_symbol for printers and destructors everywhere.
authorAkim Demaille <demaille@gostai.com>
Fri, 28 Nov 2008 21:03:29 +0000 (22:03 +0100)
committerAkim Demaille <demaille@gostai.com>
Mon, 1 Dec 2008 21:32:33 +0000 (22:32 +0100)
commit3bb211139b8f250e7045f59a61a23c7e47ec6a3e
tree68e28c9ca6c1ec15670af77c55d232f5f21ecaea
parentfb7c5b1f23ff4af726b73bee6db669cbdab7de94
Use b4_symbol for printers and destructors everywhere.

* data/bison.m4 (b4_symbol_action_location): New.
* data/c.m4 (b4_symbol_actions): Remove.
Adjust all callers to use by b4_symbol_foreach and the corresponding
b4_symbol_printer/destructor macro.
* data/glr.cc: Adjust.
* data/lalr1.java: Adjust the %destructor sanity check.
* src/output.c (symbol_code_props_output): Remove, we no longer
need the b4_symbol_printers/destructors tables.
ChangeLog
data/bison.m4
data/c.m4
data/glr.cc
data/lalr1.java
src/output.c