summaryrefslogtreecommitdiff
path: root/TAO_IDL/ast/ast_interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO_IDL/ast/ast_interface.cpp')
-rw-r--r--TAO_IDL/ast/ast_interface.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO_IDL/ast/ast_interface.cpp b/TAO_IDL/ast/ast_interface.cpp
index 4aafc06dd89..a6bcd815c73 100644
--- a/TAO_IDL/ast/ast_interface.cpp
+++ b/TAO_IDL/ast/ast_interface.cpp
@@ -131,6 +131,12 @@ AST_Interface::AST_Interface (UTL_ScopedName *n,
this->size_type (AST_Type::VARIABLE); // always the case
this->has_constructor (true); // always the case
+ // Check for non-local and not a dummy for a fwd decl.
+ if (! local && nih != -1)
+ {
+ idl_global->non_local_iface_seen_ = true;
+ }
+
// Enqueue the param holders (if any) for later destruction.
// By the time our destroy() is called, it will be too late
// to iterate over pd_inherits.