projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3997cc
)
* cpplib.c (do_line): Update line number after pop_buffer.
author
Neil Booth
<neil@daikokuya.demon.co.uk>
Sun, 5 Aug 2001 23:09:44 +0000
(23:09 +0000)
committer
Neil Booth
<neil@gcc.gnu.org>
Sun, 5 Aug 2001 23:09:44 +0000
(23:09 +0000)
From-SVN: r44653
gcc/ChangeLog
patch
|
blob
|
history
gcc/cpplib.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 4cdd33c822f1dc34d595ab70c2fbd9d556edc0e8..d8ff3e3ac89f6c455caa63315e437aa5fa075bca 100644
(file)
--- 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 5932a44d1d5bc2e6a87138f37f12cf2af1151378..0792f2b45b9e3aedfb3aa8efbd18be32b2aa64d8 100644
(file)
--- 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))