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:
parent
1ccfb3dd92
commit
7463ef45ce
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue