diff options
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r-- | gcc/cpplex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c index 68ceb36..86dbf5a 100644 --- a/gcc/cpplex.c +++ b/gcc/cpplex.c @@ -675,8 +675,8 @@ parse_string (pfile, token, terminator) /* Character constants and header names may not extend over multiple lines. In Standard C, neither may strings. Unfortunately, we accept multiline strings as an - extension. */ - if (terminator != '"') + extension, except in #include family directives. */ + if (terminator != '"' || pfile->state.angled_headers) { unterminated (pfile, terminator); break; |