aboutsummaryrefslogtreecommitdiff
path: root/libcpp/directives.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-12-29 09:15:08 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2006-12-29 09:15:08 +0100
commit9d30f270db7f21cd6a501dc94b28a76831444e87 (patch)
tree56b100954658b22feb7776f7f8a55f56531a16e0 /libcpp/directives.c
parent311c6da40f1dd2f6f51d06e1bb81b009481812ca (diff)
downloadgcc-9d30f270db7f21cd6a501dc94b28a76831444e87.zip
gcc-9d30f270db7f21cd6a501dc94b28a76831444e87.tar.gz
gcc-9d30f270db7f21cd6a501dc94b28a76831444e87.tar.bz2
re PR preprocessor/29612 (gcc --save-temps does not give "multi-character character constant" error)
PR preprocessor/29612 * directives.c (do_linemarker): Set pfile->buffer->sysp always, not only when new_sysp is non-zero. * gcc.dg/cpp/pr29612-1.c: New test. * gcc.dg/cpp/pr29612-2.c: New test. From-SVN: r120257
Diffstat (limited to 'libcpp/directives.c')
-rw-r--r--libcpp/directives.c2
1 files changed, 1 insertions, 1 deletions
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);
}