aboutsummaryrefslogtreecommitdiff
path: root/libcpp/directives.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-04-18 20:25:07 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-04-18 20:25:07 +0000
commit4c1de988adebc85c385520cf50b3431592579874 (patch)
treee22c5191f2a3881126e43683cafcce7d76ad83ee /libcpp/directives.c
parent9a9c69c30bac33cc137284ee3ca70f2b8130dcf2 (diff)
libcpp:
* directives.c (parse_include): Pass true to check_eol. gcc/testsuite: * gcc.dg/cpp/include5.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@146327 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/directives.c')
-rw-r--r--libcpp/directives.c2
1 files changed, 1 insertions, 1 deletions
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