diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/cpplib.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4cdd33c..d8ff3e3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 5932a44..0792f2b 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -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)) |
