-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
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;
}
}