Commit e3754f9c by Mark Mitchell Committed by Mark Mitchell

* parser.c (cp_parser_unqualified_id): Initialize type_decl.

From-SVN: r94795
parent cbe24267
2005-02-09 Mark Mitchell <mark@codesourcery.com>
* parser.c (cp_parser_unqualified_id): Initialize type_decl.
PR c++/19787
* call.c (initialize_reference): Robustify.
......
......@@ -3231,6 +3231,7 @@ cp_parser_unqualified_id (cp_parser* parser,
/* If there was an explicit qualification (S::~T), first look
in the scope given by the qualification (i.e., S). */
done = false;
type_decl = NULL_TREE;
if (scope)
{
cp_parser_parse_tentatively (parser);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment