* cpplex.c (parse_string): Unconditionally pedwarn.
From-SVN: r40214
This commit is contained in:
parent
c691145a65
commit
795a25f433
@ -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>
|
2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||||
|
|
||||||
* cpp.texi: Update.
|
* cpp.texi: Update.
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user