]> git.saurik.com Git - bison.git/commit - data/variant.hh
b4_semantic_type_declare.
authorAkim Demaille <demaille@gostai.com>
Wed, 31 Dec 2008 11:44:58 +0000 (12:44 +0100)
committerAkim Demaille <demaille@gostai.com>
Mon, 2 Mar 2009 15:08:07 +0000 (16:08 +0100)
commitb9e4eb5b7288c5cdf35f26d74786a3aacf56e137
treeb9a926e68af1375d64eda3628934b4b354f13930
parent6a6e7f0c65dae2082eaa063393318245063e55a7
b4_semantic_type_declare.

* data/c++.m4 (b4_semantic_type_declare): New.
Factors and generalizes what was in glr.cc and lalr1.cc.
* data/variant.hh (b4_semantic_type_declare): Redefine it for
variants.
* data/lalr1.cc, data/glr.cc: Use it.
ChangeLog
data/c++.m4
data/glr.cc
data/lalr1.cc
data/variant.hh