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:
Akim Demaille
2008-10-22 04:16:34 -05:00
parent 56017c172b
commit c4585f1e2d
2 changed files with 62 additions and 34 deletions

View File

@@ -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.