diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-08-05 23:09:44 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-08-05 23:09:44 +0000 |
commit | 9765f97213c272b1ec43872172027032d5c7c310 (patch) | |
tree | 42f982dc8cc247f62f03e5bfb07bbecb0b26ac99 /gcc/cpplib.c | |
parent | f3997ccf90496a4519cd8ec8f0985202b79f69d0 (diff) | |
download | gcc-9765f97213c272b1ec43872172027032d5c7c310.zip gcc-9765f97213c272b1ec43872172027032d5c7c310.tar.gz gcc-9765f97213c272b1ec43872172027032d5c7c310.tar.bz2 |
* cpplib.c (do_line): Update line number after pop_buffer.
From-SVN: r44653
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |