* cpplex.c (parse_string): Don't allow multiline strings in
#include family directives.
From-SVN: r37250
+2000-11-04 Neil Booth <neilb@earthling.net>
+
+ * cpplex.c (parse_string): Don't allow multiline strings in
+ #include family directives.
+
2000-11-04 Neil Booth <neilb@earthling.net>
* cpplib.c (do_line): Only warn pedantically if not reading
/* 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;