diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cpplex.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c818ddc..1abe8fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk> + * cpplex.c (parse_string): Unconditionally pedwarn. + +2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk> + * cpp.texi: Update. * cppexp.c (parse_number): Update. * cpplex.c (parse_string): Pedwarn if multiline string does not diff --git a/gcc/cpplex.c b/gcc/cpplex.c index c0b5e02..939951a 100644 --- a/gcc/cpplex.c +++ b/gcc/cpplex.c @@ -686,8 +686,7 @@ parse_string (pfile, token, terminator) break; } - if (! cpp_sys_macro_p (pfile)) - cpp_pedwarn (pfile, "multi-line string constants are deprecated"); + cpp_pedwarn (pfile, "multi-line string literals are deprecated"); if (pfile->mlstring_pos.line == 0) pfile->mlstring_pos = pfile->lexer_pos; |