diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-01-27 14:37:27 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-01-27 14:37:27 +0000 |
commit | c6f49d68b7b3ecb1a16a54d0d9248b9ce2477a5c (patch) | |
tree | 730af5d2224a9ef1c91f1661a61651ce1573ba8e /TAO/TAO_IDL | |
parent | 9d14197ca6205d9af681055f005fa8f5d2dccdfb (diff) | |
download | ATCD-c6f49d68b7b3ecb1a16a54d0d9248b9ce2477a5c.tar.gz |
Diffstat (limited to 'TAO/TAO_IDL')
-rw-r--r-- | TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp b/TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp index 0e657d8ff7c..5a34132e705 100644 --- a/TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp +++ b/TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp @@ -38,7 +38,7 @@ ast_visitor_tmpl_module_ref::visit_template_module_ref ( // processes the implied IDL. It's a bit inefficient to have // the implied IDL in both the template module and its // instantiations, but otherwise the lookup issues are - // extremely complicated. This approach allows + // extremely complicated. This approach allows // lookup_by_name_local() to just skip over the alias and // match the module of the same name occurring later in the // template module scope. From that vantage point, the @@ -47,17 +47,17 @@ ast_visitor_tmpl_module_ref::visit_template_module_ref ( // module scope (see ast_visitor_reifying::check_and_store() // and ast_visitor_reifying::template_module_rel_name()). UTL_ScopedName sn (node->local_name (), 0); - + AST_Module *added_module = idl_global->gen ()->create_module (idl_global->scopes (). top (), &sn); - + idl_global->scopes ().top ()->add_to_scope (added_module); - - AST_Decl *d = ScopeAsDecl (idl_global->scopes ().top ()); - + +// AST_Decl *d = ScopeAsDecl (idl_global->scopes ().top ()); + idl_global->scopes ().push (added_module); - + // Visit the scope of referenced template module. No need to // update the template parameter list since its param list has // to be a subset of the one we're in. @@ -69,9 +69,9 @@ ast_visitor_tmpl_module_ref::visit_template_module_ref ( ACE_TEXT ("visit_scope failed\n")), -1); } - + idl_global->scopes ().pop (); - + return 0; } |