]> git.saurik.com Git - bison.git/commit
Handle semantic value and location together.
authorAkim Demaille <demaille@gostai.com>
Sat, 2 Aug 2008 12:18:48 +0000 (14:18 +0200)
committerAkim Demaille <demaille@gostai.com>
Sun, 9 Nov 2008 18:42:08 +0000 (19:42 +0100)
commit57295d14f9b891c245c45b1a8e5f5132b95cbacb
treeff8eb27d92aa58fae9c7c395dbd6055111193145
parente9b0834e184ae9e5263c2fb3a915df60019d25e6
Handle semantic value and location together.

* data/lalr1.cc (b4_symbol_actions): Bounce $$ and @$ to
yydata.value and yydata.location.
(yy_symbol_value_print_, yy_symbol_print_, yydestruct_)
(YY_SYMBOL_PRINT): Now take semantic value and location as a
single arg.
Adjust all callers.
(yydestruct_): New overload for a stack symbol.
ChangeLog
data/lalr1.cc