*** empty log message ***
From-SVN: r7774
This commit is contained in:
parent
d996122c30
commit
a5ef9010de
@ -1,5 +1,8 @@
|
||||
Wed Jul 13 03:57:54 1994 Jason Merrill (jason@deneb.cygnus.com)
|
||||
|
||||
* method.c (hack_identifier): Put back old code so lists of
|
||||
non-functions will be handled properly.
|
||||
|
||||
* cp-tree.h (TYPE_NEEDS_CONSTRUCTING): #if 0 out; this macro is now
|
||||
defined in the language-independent tree.h.
|
||||
|
||||
|
@ -1458,7 +1458,7 @@ hack_identifier (value, name, yychar)
|
||||
return build_component_ref (C_C_D, name, 0, 1);
|
||||
}
|
||||
|
||||
if (TREE_CODE (value) == TREE_LIST)
|
||||
if (really_overloaded_fn (value))
|
||||
{
|
||||
tree t = get_first_fn (value);
|
||||
while (t)
|
||||
@ -1468,6 +1468,16 @@ hack_identifier (value, name, yychar)
|
||||
t = DECL_CHAIN (t);
|
||||
}
|
||||
}
|
||||
else if (TREE_CODE (value) == TREE_LIST)
|
||||
{
|
||||
tree t = value;
|
||||
while (t && TREE_CODE (t) == TREE_LIST)
|
||||
{
|
||||
assemble_external (TREE_VALUE (t));
|
||||
TREE_USED (t) = 1;
|
||||
t = TREE_CHAIN (t);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
assemble_external (value);
|
||||
|
Loading…
Reference in New Issue
Block a user