summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_field.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_field.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_field.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/ast/ast_field.cpp b/TAO/TAO_IDL/ast/ast_field.cpp
index 6b09b061604..bacbf80714c 100644
--- a/TAO/TAO_IDL/ast/ast_field.cpp
+++ b/TAO/TAO_IDL/ast/ast_field.cpp
@@ -115,6 +115,10 @@ AST_Field::AST_Field (AST_Type *ft,
idl_global->err ()->not_a_type (ft);
}
}
+ else if (fnt == AST_Decl::NT_except)
+ {
+ idl_global->err ()->not_a_type (ft);
+ }
}
// To be used when constructing a node of a subclass of AST_Field.