diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-01-01 00:45:58 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2006-01-01 00:45:58 +0100 |
commit | d09e893f10b6bb8bea9eafce9fd3f008f9cb5027 (patch) | |
tree | ce308977cf7e39a7110238524fc15f921883e86a /libcpp/ChangeLog | |
parent | 2984956b2f436d4be9d85777a4d4ba1ea00a208a (diff) | |
download | gcc-d09e893f10b6bb8bea9eafce9fd3f008f9cb5027.tar.gz |
re PR c++/25294 (Bogus "unterminated comment" error from #pragma comment)
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.
From-SVN: r109201
Diffstat (limited to 'libcpp/ChangeLog')
-rw-r--r-- | libcpp/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index e21ea6dc524..b2f0c9a2bf9 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,10 @@ +2006-01-01 Jakub Jelinek <jakub@redhat.com> + + 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. + 2005-12-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de> PR c++/23333 |