egcs/gcc cppfiles.c cppinit.c cpplib.h cppmain.c
brolley@egcs.cygnus.com
brolley@egcs.cygnus.com
Mon May 10 15:24:00 GMT 1999
CVSROOT: /egcs/carton/cvsfiles
Module name: egcs
Changes by: brolley@egcs.cygnus.com 99/05/10 15:24:37
Modified files:
gcc : cppfiles.c cppinit.c cpplib.h cppmain.c
Log message:
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.
More information about the Gcc-cvs
mailing list