* decl2.c (grok_x_components): Always call grok_enum_decls.
From-SVN: r17448
This commit is contained in:
parent
e1402e7d13
commit
d29ab3764b
|
@ -1,3 +1,7 @@
|
||||||
|
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>
|
Wed Jan 21 10:29:57 1998 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
|
||||||
|
|
||||||
* pt.c (coerce_template_parms): Don't access elements of ARGLIST
|
* pt.c (coerce_template_parms): Don't access elements of ARGLIST
|
||||||
|
|
|
@ -931,10 +931,7 @@ grok_x_components (specs, components)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
t = TREE_TYPE (components);
|
t = TREE_TYPE (components);
|
||||||
if (TREE_CODE (t) == ENUMERAL_TYPE && TREE_NONLOCAL_FLAG (t))
|
|
||||||
return grok_enum_decls (t, components);
|
return grok_enum_decls (t, components);
|
||||||
else
|
|
||||||
return components;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue