* decl2.c (push_decl_namespace): Push the original namespace.

From-SVN: r34845
This commit is contained in:
Nathan Sidwell 2000-07-03 15:43:49 +00:00 committed by Nathan Sidwell
parent cb4b535dc2
commit a1089a8e04
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-07-03 Nathan Sidwell <nathan@codesourcery.com>
* decl2.c (push_decl_namespace): Push the original namespace.
2000-07-03 Nathan Sidwell <nathan@codesourcery.com>
* pt.c (instantiate_class_template): Set CLASSTYPE_VBASECLASSES.

View File

@ -4703,7 +4703,8 @@ push_decl_namespace (decl)
{
if (TREE_CODE (decl) != NAMESPACE_DECL)
decl = decl_namespace (decl);
decl_namespace_list = tree_cons (decl, NULL_TREE, decl_namespace_list);
decl_namespace_list = tree_cons (ORIGINAL_NAMESPACE (decl),
NULL_TREE, decl_namespace_list);
}
void