summaryrefslogtreecommitdiff
path: root/gcc/cppmacro.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r--gcc/cppmacro.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c
index f9291bcdc40..637e5e95536 100644
--- a/gcc/cppmacro.c
+++ b/gcc/cppmacro.c
@@ -990,11 +990,12 @@ cpp_get_token (pfile, token)
/* Read each token in, until EOF. Directives are transparently
processed. */
void
-cpp_scan_buffer_nooutput (pfile)
+cpp_scan_buffer_nooutput (pfile, all_buffers)
cpp_reader *pfile;
+ int all_buffers;
{
- cpp_buffer *buffer = pfile->buffer->prev;
cpp_token token;
+ cpp_buffer *buffer = all_buffers ? 0: pfile->buffer->prev;
do
do