re PR c++/9851 (confusing error message when using '.', not '->')
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. From-SVN: r77758
Showing
Please
register
or
sign in
to comment