* 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:
Robert Anisko
2001-08-27 14:55:39 +00:00
parent b0cfa28a12
commit 82e236e2d6
4 changed files with 20 additions and 7 deletions

View File

@@ -36,4 +36,6 @@ extern int lineno;
extern char **tags;
extern short *user_toknums;
extern struct obstack macro_obstack;
#endif /* !READER_H_ */