]> git.saurik.com Git - bison.git/commit
output: use the token list to define the yytokentype
authorAkim Demaille <akim@lrde.epita.fr>
Sun, 22 Jul 2012 07:11:37 +0000 (09:11 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Sun, 22 Jul 2012 15:01:15 +0000 (17:01 +0200)
commite3990e3c99008557fc4cf35c9675152f678fc5ff
tree3f6f7ca197082f741a81e0527a5d75047e905a1f
parentb611359d905d5f349015b3561781838580853fd8
output: use the token list to define the yytokentype

There are currently two systems used to pass information about tokens to
m4: the original one, and another, which is used for instance for
printers and destructors, variants etc.  Move to using only the latter.

* data/bison.m4 (b4_symbol_map, b4_token_visible_if)
(b4_token_has_definition, b4_any_token_visible_if, b4_token_format): New.
* data/c++.m4, data/c.m4, data/glr.c, data/java.m4: Adjust to use them.
data/bison.m4
data/c++.m4
data/c.m4
data/java.m4