summaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-05 23:09:44 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-05 23:09:44 +0000
commit1dae2f5fdd168756e8a3b755829d3373d9404fd6 (patch)
tree42f982dc8cc247f62f03e5bfb07bbecb0b26ac99 /gcc/cpplib.c
parent536314a49428e7edaae40e1ae3756dc36d77de18 (diff)
downloadgcc-1dae2f5fdd168756e8a3b755829d3373d9404fd6.tar.gz
* cpplib.c (do_line): Update line number after pop_buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44653 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 5932a44d1d5..0792f2b45b9 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))