]> git.saurik.com Git - bison.git/commit
Use b4_type_names for the union type.
authorAkim Demaille <demaille@gostai.com>
Tue, 26 Aug 2008 18:25:58 +0000 (20:25 +0200)
committerAkim Demaille <demaille@gostai.com>
Thu, 13 Nov 2008 05:20:59 +0000 (06:20 +0100)
commite9805e574361e4f4b344d1b92b75c30dc8c325bd
tree846a2ae21645067239fef706782453e01ce6885f
parentaea10ef46f726371c21e99d2bfb78c1ab891f73d
Use b4_type_names for the union type.

The union used to compute the size of the variant used to iterate over the
type of all the symbols, with a lot of redundancy.  Now iterate over the
lists of symbols having the same type-name.

* data/lalr1.cc (b4_char_sizeof_): New.
(b4_char_sizeof): Use it.
Adjust to be called with a list of numbers instead of a single
number.
Adjust its caller for new-line issues.
ChangeLog
data/lalr1.cc