mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 06:13:02 +00:00
* src/output.c (output): Remove the initialization of the macro
obstack. It was done too late here. * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was completely wrong. (reader): Initialize the macro obstack here, since we need it to grow '%define' directives. * src/reader.h: Declare the macro obstack as extern.
This commit is contained in:
@@ -1103,7 +1103,6 @@ prepare (void)
|
||||
void
|
||||
output (void)
|
||||
{
|
||||
obstack_init (¯o_obstack);
|
||||
obstack_init (&output_obstack);
|
||||
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user