summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_sequence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_sequence.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_sequence.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/ast/ast_sequence.cpp b/TAO/TAO_IDL/ast/ast_sequence.cpp
index 02fd9508c6a..99f5fbdf6d9 100644
--- a/TAO/TAO_IDL/ast/ast_sequence.cpp
+++ b/TAO/TAO_IDL/ast/ast_sequence.cpp
@@ -83,6 +83,8 @@ AST_Sequence::AST_Sequence (void)
: pd_max_size (0),
pd_base_type (0)
{
+ // A sequence data type is always VARIABLE.
+ this->size_type (AST_Type::VARIABLE);
}
AST_Sequence::AST_Sequence (AST_Expression *ms,
@@ -108,6 +110,9 @@ AST_Sequence::AST_Sequence (AST_Expression *ms,
{
this->unbounded_ = I_FALSE;
}
+
+ // A sequence data type is always VARIABLE.
+ this->size_type (AST_Type::VARIABLE);
}
AST_Sequence::~AST_Sequence (void)