Define the constructors of symbol_type in b4_symbol_constructor_definitions.

The constructors are called by the make_symbol functions, which a
forthcoming patch will move elsewhere.  Hence the interest of putting them
together.

The stack_symbol_type does not need to be moved, it is used only by the
parser.

	* data/lalr1.cc: Move symbol_type and symbol_base_type
	constructors into...
	(b4_symbol_constructor_definitions): here.
	Adjust.
This commit is contained in:
Akim Demaille
2008-11-13 06:41:42 +01:00
parent 788355718f
commit e51b0a82be
2 changed files with 92 additions and 77 deletions
+15
View File
@@ -1,3 +1,18 @@
2008-11-13 Akim Demaille <[email protected]>
Define the constructors of symbol_type in b4_symbol_constructor_definitions.
The constructors are called by the make_symbol functions, which a
forthcoming patch will move elsewhere. Hence the interest of putting them
together.
The stack_symbol_type does not need to be moved, it is used only by the
parser.
* data/lalr1.cc: Move symbol_type and symbol_base_type
constructors into...
(b4_symbol_constructor_definitions): here.
Adjust.
2008-11-13 Akim Demaille <[email protected]>
Make it easier to move the definition of yytranslate_.