mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 00:09:42 +08:00
* cpplib.c (do_line): Update line number after pop_buffer.
From-SVN: r44653
This commit is contained in:
parent
f3997ccf90
commit
9765f97213
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user