]> git.saurik.com Git - bison.git/commit - src/output.c
The header can also be produced directly, without any obstack!
authorAkim Demaille <akim@epita.fr>
Sat, 15 Dec 2001 16:06:50 +0000 (16:06 +0000)
committerAkim Demaille <akim@epita.fr>
Sat, 15 Dec 2001 16:06:50 +0000 (16:06 +0000)
commit93ede233f5c0a96c0c4dc37b4b43d288d008f4e4
tree9072cdfda1f792e022754d7f49290a5ae3373ba2
parent2666f928214f2accec70e46ced834828706777ae
The header can also be produced directly, without any obstack!
Yahoo!
* src/files.c, src/files.h (defines_obstack): Remove.
(compute_header_macro): Global.
(defines_obstack_save): Remove.
* src/reader.c (parse_union_decl): No longer output to
defines_obstack: its content can be found in the `stype' muscle
anyway.
(output_token_translations): Merge into...
(symbols_output): this.
Rename as...
(symbols_save): this.
(reader): Adjust.
* src/output.c (header_output): New.
(output): Call it.
ChangeLog
src/files.c
src/files.h
src/output.c
src/reader.c