From 795a25f433509a65393d73f963c831c215111632 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 3 Mar 2001 14:50:20 +0000 Subject: [PATCH] * cpplex.c (parse_string): Unconditionally pedwarn. From-SVN: r40214 --- gcc/ChangeLog | 4 ++++ gcc/cpplex.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c818ddcc81d..1abe8fbf66f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-03-03 Neil Booth + + * cpplex.c (parse_string): Unconditionally pedwarn. + 2001-03-03 Neil Booth * cpp.texi: Update. diff --git a/gcc/cpplex.c b/gcc/cpplex.c index c0b5e026ae2..939951a4e7f 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; -- 2.30.2