diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-02 07:30:34 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-02 07:30:34 +0000 |
commit | 9eb7466604c607c9d8d79ae4534438c1d9d7546b (patch) | |
tree | c20dbb16aaad4d46e1efbbdb072fa9eb2e5cb387 /gcc/cpppch.c | |
parent | e2df3e75379da18409c584c2efb2064c282330de (diff) | |
download | linaro-gcc-9eb7466604c607c9d8d79ae4534438c1d9d7546b.tar.gz linaro-gcc-9eb7466604c607c9d8d79ae4534438c1d9d7546b.tar.bz2 linaro-gcc-9eb7466604c607c9d8d79ae4534438c1d9d7546b.zip |
* cpplib.c (_cpp_pop_buffer): Do generate a _cpp_do_file_change
callback even when popping the main file.
* cpplib.c (cpp_push_buffer): Since we no longer set return_at_eof,
remove the unused return_at_eof parameter.
* cppfiles.c, cpplib.c, cppmacro.c, cpppch.c, fix-header.c:
Update callers of cpp_push_buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72016 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpppch.c')
-rw-r--r-- | gcc/cpppch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpppch.c b/gcc/cpppch.c index e1dc1d710ec..71c7aae98dd 100644 --- a/gcc/cpppch.c +++ b/gcc/cpppch.c @@ -686,8 +686,8 @@ cpp_read_state (cpp_reader *r, const char *name, FILE *f, else if (m.name_length != m.definition_length) { if (cpp_push_buffer (r, defn + m.name_length, - m.definition_length - m.name_length, - true, 1) != NULL) + m.definition_length - m.name_length, true) + != NULL) { _cpp_clean_line (r); if (!_cpp_create_definition (r, h)) |