mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 12:20:06 +08:00
cpplex.c (skip_escaped_newlines): Don't warn for spaces between backslash and newline, when inside a comment.
* cpplex.c (skip_escaped_newlines): Don't warn for spaces between backslash and newline, when inside a comment. From-SVN: r38072
This commit is contained in:
parent
46142b263c
commit
c673abe457
@ -1,3 +1,8 @@
|
||||
2000-12-06 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
|
||||
|
||||
* cpplex.c (skip_escaped_newlines): Don't warn for spaces between
|
||||
backslash and newline, when inside a comment.
|
||||
|
||||
2000-12-06 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* invoke.texi: Use @table @samp instead of @itemize @minus for
|
||||
|
@ -246,7 +246,7 @@ skip_escaped_newlines (buffer, next)
|
||||
break;
|
||||
}
|
||||
|
||||
if (space)
|
||||
if (space && !buffer->pfile->state.lexing_comment)
|
||||
cpp_warning (buffer->pfile,
|
||||
"backslash and newline separated by space");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user