Commit c673abe4 by Sylvain Pion Committed by Neil Booth

cpplex.c (skip_escaped_newlines): Don't warn for spaces between backslash and…

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
parent 46142b26
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> 2000-12-06 Joseph S. Myers <jsm28@cam.ac.uk>
* invoke.texi: Use @table @samp instead of @itemize @minus for * invoke.texi: Use @table @samp instead of @itemize @minus for
......
...@@ -246,7 +246,7 @@ skip_escaped_newlines (buffer, next) ...@@ -246,7 +246,7 @@ skip_escaped_newlines (buffer, next)
break; break;
} }
if (space) if (space && !buffer->pfile->state.lexing_comment)
cpp_warning (buffer->pfile, cpp_warning (buffer->pfile,
"backslash and newline separated by space"); "backslash and newline separated by space");
......
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