]> git.saurik.com Git - bison.git/commit - data/lalr1.cc
Prefer references to pointers.
authorAkim Demaille <demaille@gostai.com>
Wed, 22 Oct 2008 09:16:34 +0000 (04:16 -0500)
committerAkim Demaille <demaille@gostai.com>
Mon, 3 Nov 2008 20:50:57 +0000 (21:50 +0100)
commitc4585f1e2d6cee2470aba970428422c316a1c235
treeff54e16d1ce7025c55a2ea50f320b157ac26c787
parent56017c172bd2c741eedc3dd4a9c0dce7c477daac
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.
ChangeLog
data/lalr1.cc