diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cpplex.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ae34567..ccd750a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/cpplex.c b/gcc/cpplex.c index f681830..17a89b9 100644 --- a/gcc/cpplex.c +++ b/gcc/cpplex.c @@ -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"); |