aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog6
-rw-r--r--libcpp/directives.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 1b1f833..de8eb92 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,9 @@
+2006-12-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR preprocessor/29612
+ * directives.c (do_linemarker): Set pfile->buffer->sysp always, not
+ only when new_sysp is non-zero.
+
2006-12-28 Tom Tromey <tromey@redhat.com>
PR preprocessor/30001:
diff --git a/libcpp/directives.c b/libcpp/directives.c
index e08698d..7fb142e 100644
--- a/libcpp/directives.c
+++ b/libcpp/directives.c
@@ -942,8 +942,8 @@ do_linemarker (cpp_reader *pfile)
flag = read_flag (pfile, flag);
if (flag == 4)
new_sysp = 2;
- pfile->buffer->sysp = new_sysp;
}
+ pfile->buffer->sysp = new_sysp;
check_eol (pfile);
}