summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-01-27 14:37:27 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-01-27 14:37:27 +0000
commitcf5651484ef0216444592d54455c73cb6550c37c (patch)
tree730af5d2224a9ef1c91f1661a61651ce1573ba8e
parent3d3c61d6dd4341ae62281200e6cc791cf49bc620 (diff)
downloadATCD-cf5651484ef0216444592d54455c73cb6550c37c.tar.gz
-rw-r--r--TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp18
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;
}