* decl.c (push_overloaded_decl): Use current_namespace instead of
DECL_CONTEXT (decl) to determine where we go.
From-SVN: r21472
1998-07-29 Jason Merrill <jason@yorick.cygnus.com>
+ * decl.c (push_overloaded_decl): Use current_namespace instead of
+ DECL_CONTEXT (decl) to determine where we go.
+
* decl.c (lookup_name_real): Fix typo.
1998-07-28 Jason Merrill <jason@yorick.cygnus.com>
old = decl;
if (doing_global)
- set_namespace_binding (orig_name, DECL_CONTEXT (decl), old);
+ set_namespace_binding (orig_name, current_namespace, old);
else
IDENTIFIER_LOCAL_VALUE (orig_name) = old;