]> git.saurik.com Git - bison.git/commit
skeletons: avoid empty switch constructs
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 8 Apr 2013 09:13:22 +0000 (11:13 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 8 Apr 2013 09:17:09 +0000 (11:17 +0200)
commit3cf3393bd419f907902034272d6a4b930c62b542
treec785cbe18738a918ee564938416f4f46b60ad6fa
parente83be476a515a38f874e75a109430061c9198e4b
skeletons: avoid empty switch constructs

Reported by Rob Conde.
http://lists.gnu.org/archive/html/bug-bison/2013-03/msg00003.html

* data/c.m4 (b4_symbol_actions): Rename as...
(_b4_symbol_actions): this.
(b4_symbol_actions): New wrapper.
Do not emit empty switches.
Adjust all b4_symbol_actions callers.
data/c.m4
data/glr.cc
data/lalr1.cc