mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
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.
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2008-11-09 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
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.
|
||||
|
||||
2008-11-09 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Push a complete symbol, not connected parts.
|
||||
|
||||
Reference in New Issue
Block a user