PR c++/9851
commit60c6ea84ccef41e2fb963f7d47640108ff4167dd
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Feb 2004 16:11:39 +0000 (13 16:11 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Feb 2004 16:11:39 +0000 (13 16:11 +0000)
tree8e212bcdf838506c4ede9c33f222784c6bf36a76
parent74d2529d8ec6c083140fff2090bf4af960a5c0f4
PR c++/9851
* parser.c (cp_parser_pseudo_destructor_name): Check for errors on
the type name and look ahead for ::~, and bail out early with a
better error message if the parse is going to fail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77758 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c