* decl2.c (grok_x_components): Always call grok_enum_decls.
From-SVN: r17448
This commit is contained in:
parent
e1402e7d13
commit
d29ab3764b
2 changed files with 5 additions and 4 deletions
|
@ -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>
|
||||
|
||||
* pt.c (coerce_template_parms): Don't access elements of ARGLIST
|
||||
|
|
|
@ -931,10 +931,7 @@ grok_x_components (specs, components)
|
|||
else
|
||||
{
|
||||
t = TREE_TYPE (components);
|
||||
if (TREE_CODE (t) == ENUMERAL_TYPE && TREE_NONLOCAL_FLAG (t))
|
||||
return grok_enum_decls (t, components);
|
||||
else
|
||||
return components;
|
||||
return grok_enum_decls (t, components);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue