mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Prefer references to pointers.
* data/lalr1.cc (b4_symbol_actions): New, overrides the default C definition to use references instead of pointers. (yy_symbol_value_print_, yy_symbol_print_, yydestruct_): Take the value and location as references. Adjust callers.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2008-11-03 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Prefer references to pointers.
|
||||
* data/lalr1.cc (b4_symbol_actions): New, overrides the default C
|
||||
definition to use references instead of pointers.
|
||||
(yy_symbol_value_print_, yy_symbol_print_, yydestruct_):
|
||||
Take the value and location as references.
|
||||
Adjust callers.
|
||||
|
||||
2008-11-03 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
stack::size instead of stack::height.
|
||||
|
||||
Reference in New Issue
Block a user