* cpplex.c (_cpp_lex_direct): When in a directive at EOF
fake a newline.
From-SVN: r53386
+2002-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * cpplex.c (_cpp_lex_direct): When in a directive at EOF
+ fake a newline.
+
2002-05-11 Zack Weinberg <zack@codesourcery.com>
* config/rs6000/rs6000.c (rs6000_default_long_calls,
/* 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)
{
}
/* Don't pop the last buffer. */
- if (buffer->prev)
+ if (!pfile->state.in_directive && buffer->prev)
{
unsigned char stop = buffer->return_at_eof;