mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 05:13:04 +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:
@@ -36,4 +36,6 @@ extern int lineno;
|
||||
extern char **tags;
|
||||
extern short *user_toknums;
|
||||
|
||||
extern struct obstack macro_obstack;
|
||||
|
||||
#endif /* !READER_H_ */
|
||||
|
||||
Reference in New Issue
Block a user