]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/39647 (Syntax checks in #line not quite right)
authorJoseph Myers <joseph@codesourcery.com>
Sat, 18 Apr 2009 15:28:40 +0000 (16:28 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sat, 18 Apr 2009 15:28:40 +0000 (16:28 +0100)
commita5cb563b79b71ef5dbf3c3c0aca014c785f79927
tree77102eabd471055daec6714f7c09468dba337166
parent2586ba4bdaaa47413b9c03ff164d926fe52f8dc1
re PR preprocessor/39647 (Syntax checks in #line not quite right)

libcpp:
PR preprocessor/39647
* directives.c (check_eol): Add parameter expand.
(do_undef, parse_include, do_line, do_linemarker, do_ident,
do_pragma_once, do_pragma_system_header, do_ifdef, do_ifndef,
do_else, do_endif, do_assert, do_unassert): All callers changed.
Pass true from do_line, false elsewhere.

gcc/testsuite:
* gcc.dg/cpp/line7.c: New test.

From-SVN: r146316
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/line7.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c