mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-24 08:28:12 +00:00
glr2.cc: move glr_stack and glr_state into the parser class
In order to be able to link several glr2.cc parser together, we cannot have glr_stack and glr_state be in no namespace. Putting them in the unnamed namespace is not doable, since we need to fwd declare them in the parser. Putting them in the specified namespace is not enough either, since some users would like to be able to put several parsers in the same name, only differing by the class name. * data/skeletons/glr2.cc (glr_state, glr_stack): Move into yy::parser.
This commit is contained in:
1 parent
3e94b12ddd
commit
9babd05a90
1 file changed
+1300
-1294
+1300
-1294
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user