diff options
author | Zack Weinberg <zack@rabi.columbia.edu> | 1999-05-10 11:24:36 -0400 |
---|---|---|
committer | Dave Brolley <brolley@gcc.gnu.org> | 1999-05-10 11:24:36 -0400 |
commit | 2c826217f4703c5d4f7b5739607743f693e92842 (patch) | |
tree | 82da63a000e57cc2f3aa9bf724d12d755a4e166f /gcc/cppspec.c | |
parent | 4338f578a7e549d521d9f8b80a8f0eaca39d1fee (diff) | |
download | gcc-2c826217f4703c5d4f7b5739607743f693e92842.zip gcc-2c826217f4703c5d4f7b5739607743f693e92842.tar.gz gcc-2c826217f4703c5d4f7b5739607743f693e92842.tar.bz2 |
cppfiles.c (initialize_input_buffer): New function.
1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* cppfiles.c (initialize_input_buffer): New function.
(finclude): Call it, if pfile->input_buffer is NULL. Accept
any character device as an input file.
(read_and_prescan): Use pfile->input_buffer and
pfile->input_speccase.
* cppinit.c (cpp_cleanup): Free pfile->input_buffer and
pfile->input_speccase.
* cpplib.h (cpp_reader): Add input_buffer, input_speccase, and
input_buffer_len members. Use memcpy in CPP_PUTS_Q.
* cppmain.c: Buffer output in the token_buffer; throttle
number of calls to fwrite; check for errors from fwrite.
From-SVN: r26869
Diffstat (limited to 'gcc/cppspec.c')
0 files changed, 0 insertions, 0 deletions