PR c++/25294
commit986ca3568e2c360f762d3304ec739c3affb96eb4
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Dec 2005 23:45:58 +0000 (31 23:45 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Dec 2005 23:45:58 +0000 (31 23:45 +0000)
treece308977cf7e39a7110238524fc15f921883e86a
parentbb8dad56465cee82440a0c54c9a8f32d709d396a
PR c++/25294
* directives.c (do_pragma): If pragma line ends with multi-line
block comment, end the saved deferred pragma string before that
comment.  Handle embedded '\0' chars on the pragma line.

* gcc.dg/pragma-pack-3.c: New test.
* g++.dg/parse/pragma3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109201 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/pragma3.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/pragma-pack-3.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c