* parser.c (cp_parser_unqualified_id): Initialize type_decl.
From-SVN: r94795
This commit is contained in:
parent
cbe24267f9
commit
e3754f9c23
|
@ -1,5 +1,7 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue