summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_sequence.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-26 03:35:17 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-26 03:35:17 +0000
commit75d6d57c5a0a7caa39dc396837acb574bd79f3c9 (patch)
tree7e010e59c86149d410be0abf214c842a8d704af0 /TAO/TAO_IDL/ast/ast_sequence.cpp
parent16b45ce210686be75f18f4cec4ee34d5b91c1c5f (diff)
downloadATCD-75d6d57c5a0a7caa39dc396837acb574bd79f3c9.tar.gz
ChangeLogTag:Tue Apr 25 19:25:28 2000 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_sequence.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_sequence.cpp20
1 files changed, 11 insertions, 9 deletions
diff --git a/TAO/TAO_IDL/ast/ast_sequence.cpp b/TAO/TAO_IDL/ast/ast_sequence.cpp
index 449f1380663..c4d28152312 100644
--- a/TAO/TAO_IDL/ast/ast_sequence.cpp
+++ b/TAO/TAO_IDL/ast/ast_sequence.cpp
@@ -88,16 +88,18 @@ AST_Sequence::AST_Sequence ()
{
}
-AST_Sequence::AST_Sequence (AST_Expression *ms,
- AST_Type *bt)
+AST_Sequence::AST_Sequence (AST_Expression *ms,
+ AST_Type *bt,
+ idl_bool local,
+ idl_bool abstract)
: AST_Decl(AST_Decl::NT_sequence,
- new UTL_ScopedName (
- new Identifier ("sequence", 1, 0, I_FALSE),
- NULL
- ),
- NULL),
- pd_max_size(ms),
- pd_base_type(bt)
+ new UTL_ScopedName (new Identifier ("sequence", 1, 0, I_FALSE),
+ NULL),
+ NULL),
+ COMMON_Base (bt->is_local () || local,
+ abstract),
+ pd_max_size(ms),
+ pd_base_type(bt)
{
}