diff options
author | Sylvain Pion <Sylvain.Pion@sophia.inria.fr> | 2000-12-06 21:12:59 +0100 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-12-06 20:12:59 +0000 |
commit | c673abe4578346cd680a1b1890ef63d81091af0a (patch) | |
tree | aed627d5c43799b62e5e01fa15bd53d3f7ab5c28 /gcc/cpplex.c | |
parent | 46142b263c1fe3bc13d9bf0d802ffcfe023285f8 (diff) | |
download | gcc-c673abe4578346cd680a1b1890ef63d81091af0a.zip gcc-c673abe4578346cd680a1b1890ef63d81091af0a.tar.gz gcc-c673abe4578346cd680a1b1890ef63d81091af0a.tar.bz2 |
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
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r-- | gcc/cpplex.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |