Commit d1fefbce by Jason Merrill

revert last change

From-SVN: r17460
parent 03566575
Thu Jan 22 21:30:42 1998 Mark Mitchell <mmitchell@usa.net>
* decl2.c (grok_x_components): Always call grok_enum_decls.
Wed Jan 21 10:29:57 1998 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
* pt.c (coerce_template_parms): Don't access elements of ARGLIST
that is not really present. Substitute default arguments in
that are not really present. Substitute default arguments in
template template arguments. Correctly convert TEMPLATE_DECL to
TEMPLATE_TEMPLATE_PARM.
(comp_template_args): TEMPLATE_DECL and TEMPLATE_TEMPLATE_PARM
......
......@@ -931,7 +931,10 @@ grok_x_components (specs, components)
else
{
t = TREE_TYPE (components);
return grok_enum_decls (t, components);
if (TREE_CODE (t) == ENUMERAL_TYPE && TREE_NONLOCAL_FLAG (t))
return grok_enum_decls (t, components);
else
return components;
}
}
......
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