* call.c (build_scoped_method_call): Fix thinko.
(build_method_call): Likewise.
From-SVN: r20411
+1998-06-10 Jason Merrill <jason@yorick.cygnus.com>
+
+ * call.c (build_scoped_method_call): Fix thinko.
+ (build_method_call): Likewise.
+
1998-06-10 Dave Brolley <brolley@cygnus.com>
* decl2.c (lang_decode_option): New argc/argv interface.
/* OK */;
else if (TREE_CODE (tmp) == IDENTIFIER_NODE)
{
- if (IS_AGGR_TYPE (basetype) && tmp == constructor_name (basetype))
+ if (IS_AGGR_TYPE (basetype) && name == constructor_name (basetype))
tmp = basetype;
else
tmp = get_type_value (tmp);
tmp = name;
else if (TREE_CODE (name) == IDENTIFIER_NODE)
{
- if (IS_AGGR_TYPE (basetype) && tmp == constructor_name (basetype))
+ if (IS_AGGR_TYPE (basetype) && name == constructor_name (basetype))
tmp = basetype;
else
tmp = get_type_value (tmp);