From 3e52c4186a089060d954646f9943475a11853cb6 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Sat, 18 Apr 2009 20:25:07 +0000 Subject: libcpp: * directives.c (parse_include): Pass true to check_eol. gcc/testsuite: * gcc.dg/cpp/include5.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146327 138bc75d-0d04-0410-961f-82ee72b054a4 --- libcpp/directives.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpp/directives.c') diff --git a/libcpp/directives.c b/libcpp/directives.c index 9e26732337b..c2e71016f24 100644 --- a/libcpp/directives.c +++ b/libcpp/directives.c @@ -724,7 +724,7 @@ parse_include (cpp_reader *pfile, int *pangle_brackets, /* This pragma allows extra tokens after the file name. */ } else if (buf == NULL || CPP_OPTION (pfile, discard_comments)) - check_eol (pfile, false); + check_eol (pfile, true); else { /* If we are not discarding comments, then gather them while -- cgit v1.2.3