cppmacro.c (cpp_scan_buffer_nooutput): Only scan the current buffer.

* cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
        current buffer.

From-SVN: r37764
This commit is contained in:
Neil Booth 2000-11-26 19:30:27 +00:00 committed by Neil Booth
parent 1ccfb3dd92
commit 7463ef45ce
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2000-11-26 Neil Booth <neilb@earthling.net>
* cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
current buffer.
2000-11-26 Joseph S. Myers <jsm28@cam.ac.uk>
* makefile.vms: Remove EGCS references.

View file

@ -990,13 +990,14 @@ void
cpp_scan_buffer_nooutput (pfile)
cpp_reader *pfile;
{
cpp_buffer *buffer = pfile->buffer->prev;
cpp_token token;
do
do
cpp_get_token (pfile, &token);
while (token.type != CPP_EOF);
while (cpp_pop_buffer (pfile) != 0);
while (cpp_pop_buffer (pfile) != buffer);
}
/* Lookahead handling. */