aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c2
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");