summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_module.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_module.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/ast/ast_module.cpp b/TAO/TAO_IDL/ast/ast_module.cpp
index 59d86c3dc00..fc354ff84bf 100644
--- a/TAO/TAO_IDL/ast/ast_module.cpp
+++ b/TAO/TAO_IDL/ast/ast_module.cpp
@@ -676,9 +676,17 @@ AST_Module::has_nested_valuetype ()
}
int
-AST_Module::be_add_interface (AST_Interface *i)
+AST_Module::be_add_interface (AST_Interface *i, AST_Interface *ix)
{
- this->fe_add_interface (i);
+ /*
+ * Add it to scope
+ */
+ add_to_scope(i, ix);
+ /*
+ * Add it to set of locally referenced symbols
+ */
+ add_to_referenced(i, I_FALSE, ix);
+
return 0;
}