Commit 795a25f4 by Neil Booth Committed by Neil Booth

* cpplex.c (parse_string): Unconditionally pedwarn.

From-SVN: r40214
parent c691145a
2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk> 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. * cpp.texi: Update.
* cppexp.c (parse_number): Update. * cppexp.c (parse_number): Update.
* cpplex.c (parse_string): Pedwarn if multiline string does not * cpplex.c (parse_string): Pedwarn if multiline string does not
......
...@@ -686,8 +686,7 @@ parse_string (pfile, token, terminator) ...@@ -686,8 +686,7 @@ parse_string (pfile, token, terminator)
break; break;
} }
if (! cpp_sys_macro_p (pfile)) cpp_pedwarn (pfile, "multi-line string literals are deprecated");
cpp_pedwarn (pfile, "multi-line string constants are deprecated");
if (pfile->mlstring_pos.line == 0) if (pfile->mlstring_pos.line == 0)
pfile->mlstring_pos = pfile->lexer_pos; pfile->mlstring_pos = pfile->lexer_pos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment