PR preprocessor/69869
commit42dc1e149ee78eea7f4902900b5e2593b12d2d61
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Jan 2018 08:31:52 +0000 (31 08:31 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Jan 2018 08:31:52 +0000 (31 08:31 +0000)
tree2b05a215f7e85a7a5f2b75c760f521ae28a5992d
parent8bb0f4a9630cbfb3e0607673ec4ce48eca1e8a79
PR preprocessor/69869
* traditional.c (skip_macro_block_comment): Return bool, true if
the macro block comment is unterminated.
(copy_comment): Use return value from skip_macro_block_comment instead
of always false.

* gcc.dg/cpp/trad/pr69869.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257220 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/trad/pr69869.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/traditional.c