* cpplib.c (do_line): Update line number after pop_buffer.

From-SVN: r44653
This commit is contained in:
Neil Booth 2001-08-05 23:09:44 +00:00 committed by Neil Booth
parent f3997ccf90
commit 9765f97213
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
* cpplib.c (do_line): Correct line number after pop_buffer.
2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
PR preprocessor/3824

View File

@ -783,6 +783,7 @@ do_line (pfile)
else
{
_cpp_pop_buffer (pfile);
pfile->lexer_pos.output_line++;
buffer = pfile->buffer;
#ifdef ENABLE_CHECKING
if (strcmp (buffer->nominal_fname, fname))