aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index a41e4ee..0d5ef46 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -454,10 +454,13 @@ cpp_scan_buffer (pfile, print)
if (token->type == CPP_EOF)
{
cpp_pop_buffer (pfile);
+
+ if (CPP_BUFFER (pfile))
+ cpp_output_tokens (pfile, print, CPP_BUF_LINE (CPP_BUFFER (pfile)));
+
if (CPP_BUFFER (pfile) == stop)
return;
- cpp_output_tokens (pfile, print, CPP_BUF_LINE (CPP_BUFFER (pfile)));
prev = 0;
continue;
}