diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-12 22:57:45 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-12 22:57:45 +0000 |
commit | 92570e7a43090cad4263e51b21c8c896a4910972 (patch) | |
tree | 7625beccd9803d12ee9437b5fcd7f9c4aaa581a8 /gcc/cpplib.c | |
parent | c4f49014c4b9932d9dc7decb46ed3fdd2119ee29 (diff) | |
download | ppe42-gcc-92570e7a43090cad4263e51b21c8c896a4910972.tar.gz ppe42-gcc-92570e7a43090cad4263e51b21c8c896a4910972.zip |
* gengtype.h (xvasprintf): New prototype.
(xasprintf): New prototype.
(struct outf): New.
(get_output_file): Return an outf_p.
(header_file): Is now an outf_p.
(base_files): Now are outf_p.
(oprintf): New.
* gengtype.c: Replace all output FILE * with outf_p; use oprintf
rather than stdio operations. Use xasprintf in a few places,
when appropriate.
(xvasprintf): New.
(xasprintf): New.
(struct filemap): Delete.
(files): Delete.
(output_files): New.
(oprintf): New.
(create_file): Create an outf_p. Add parameter to indicate output
file name, change all callers.
(open_base_files): Create gtype-desc.c here.
(get_output_file_with_visibility): Rewrite.
(get_output_file_name): Just look at 'name' field in struct outf.
(close_output_files): Rewrite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54566 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.c')
0 files changed, 0 insertions, 0 deletions