]> git.saurik.com Git - bison.git/commit
c++: better inline expansion
authorTheophile Ranquet <ranquet@lrde.epita.fr>
Mon, 28 Jan 2013 16:41:31 +0000 (17:41 +0100)
committerTheophile Ranquet <ranquet@lrde.epita.fr>
Mon, 28 Jan 2013 17:26:49 +0000 (18:26 +0100)
commitb20e797a712293b4c62912d3295648885bd1d9cf
treee1326e36c175d65640ef212ab93da56bd55a7a07
parentdc8e535c37dffc57e5bc9f97108db6f5eb7a77ce
c++: better inline expansion

Many 'inline' keywords were in the declarations.  They rather belong in
definitions, so move them.

* data/c++.m4 (basic_symbol, by_type): Many inlines here.
* data/lalr1.cc (yytranslate_, yy_destroy_, by_state, yypush_, yypop_): Inline
these as well.
(move): Move the definition outside the struct, where it belongs.
data/c++.m4
data/lalr1.cc