decl.c (push_overloaded_decl): Use current_namespace instead of DECL_CONTEXT (decl) to determine where we go.
* decl.c (push_overloaded_decl): Use current_namespace instead of DECL_CONTEXT (decl) to determine where we go. From-SVN: r21473
This commit is contained in:
parent
e0d75375e7
commit
19f1bd3476
@ -1,5 +1,8 @@
|
||||
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 Mark Mitchell <mark@markmitchell.com>
|
||||
|
@ -3982,7 +3982,7 @@ push_overloaded_decl (decl, forgettable)
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user