summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_interface.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_interface.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp
index 69d19ededed..289583d772c 100644
--- a/TAO/TAO_IDL/be/be_interface.cpp
+++ b/TAO/TAO_IDL/be/be_interface.cpp
@@ -95,10 +95,18 @@ be_interface::be_interface (UTL_ScopedName *n,
ACE_NEW (this->strategy_,
be_interface_default_strategy (this));
- if (abstract && this->is_defined ())
+ if (this->is_defined ())
{
+ // Set the flag that says we have a interface in this IDL file.
ACE_SET_BITS (idl_global->decls_seen_info_,
- idl_global->decls_seen_masks.abstract_iface_seen_);
+ idl_global->decls_seen_masks.interface_seen_);
+
+ if (abstract)
+ {
+ // Set the flag for abstract interface seen in this IDL file.
+ ACE_SET_BITS (idl_global->decls_seen_info_,
+ idl_global->decls_seen_masks.abstract_iface_seen_);
+ }
}
}