aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index bba6f07..f2d0796 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -930,7 +930,7 @@ _cpp_lex_direct (pfile)
/* EOF. */
buffer->cur--;
buffer->saved_flags = BOL;
- if (!pfile->state.parsing_args && !pfile->state.in_directive)
+ if (!pfile->state.parsing_args)
{
if (buffer->cur != buffer->line_base)
{
@@ -942,7 +942,7 @@ _cpp_lex_direct (pfile)
}
/* Don't pop the last buffer. */
- if (buffer->prev)
+ if (!pfile->state.in_directive && buffer->prev)
{
unsigned char stop = buffer->return_at_eof;