summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/util/utl_scope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/util/utl_scope.cpp')
-rw-r--r--TAO/TAO_IDL/util/utl_scope.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/util/utl_scope.cpp b/TAO/TAO_IDL/util/utl_scope.cpp
index bdc5e59ccc4..84305c6222a 100644
--- a/TAO/TAO_IDL/util/utl_scope.cpp
+++ b/TAO/TAO_IDL/util/utl_scope.cpp
@@ -514,7 +514,9 @@ UTL_Scope::fe_add_full_struct_type (AST_Structure *t)
/// Decls inside a struct or union are also referenced by
/// fields, and so must be handled differently.
- if (nt == AST_Decl::NT_struct || nt == AST_Decl::NT_union)
+ if (nt == AST_Decl::NT_struct
+ || nt == AST_Decl::NT_union
+ || nt == AST_Decl::NT_except)
{
this->add_to_local_types (t);
}