mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-10-04 07:58:26 +00:00
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
This commit is contained in:
committed by
Jakub Jelinek
parent
2984956b2f
commit
d09e893f10
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user