* cpplex.c (parse_string): Unconditionally pedwarn.

From-SVN: r40214
This commit is contained in:
Neil Booth 2001-03-03 14:50:20 +00:00 committed by Neil Booth
parent c691145a65
commit 795a25f433
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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;