Use a static hierarchy for symbols in the C++ parser.

* data/lalr1.cc (symbol_base_type, symbol_type)
	(stack_symbol_type): Make it a static hierarchy.
	Adjust dependencies.
This commit is contained in:
Akim Demaille
2008-08-04 21:54:26 +02:00
parent 757f8f98fc
commit 5de9c59301
3 changed files with 87 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
/* Test file for C++ parsers using variants.
Based on an example by Michiel De Wilde <mdewilde.agilent@gmail.com>. */
%debug
%skeleton "lalr1-fusion.cc"
%skeleton "lalr1.cc"
%defines
%define variant