diff options
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 4adf7f6..af520ef0 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -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. */ |