diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-07-15 19:29:14 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-07-15 19:29:14 +0000 |
commit | 2c0accc920f19896d91fc0afb8cb8825a5147dbe (patch) | |
tree | 13e7a6035db05f91cea3851df746122575c0e6a7 /gcc/cpplib.c | |
parent | a8c12308a05ef399cf985d3c9382207a801c310c (diff) | |
download | gcc-2c0accc920f19896d91fc0afb8cb8825a5147dbe.zip gcc-2c0accc920f19896d91fc0afb8cb8825a5147dbe.tar.gz gcc-2c0accc920f19896d91fc0afb8cb8825a5147dbe.tar.bz2 |
cpphash.c (save_expansion): Clear PREV_WHITE on tokens immediately following a paste operator.
* cpphash.c (save_expansion): Clear PREV_WHITE on tokens
immediately following a paste operator.
* cppinit.c (sort_options): New function (only for HOST_EBCDIC).
(cpp_reader_init): Call it, if HOST_EBCDIC.
(cpp_handle_options): Do not sort option list here.
(handle_option): Rename to cpp_handle_option and export.
* cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
_cpp_get_token directly.
(cpp_scan_line): Return 0 at EOF, 1 otherwise.
* cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
* cpplib.h: Prototype cpp_handle_option. Update prototype of
cpp_scan_line.
From-SVN: r35052
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index e55f955..aaf55a0 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -1520,7 +1520,6 @@ cpp_push_buffer (pfile, buffer, length) new->line_base = new->buf = new->cur = buffer; new->rlimit = buffer + length; new->prev = buf; - new->lineno = 1; CPP_BUFFER (pfile) = new; return new; |