diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-08-27 01:36:42 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-08-27 01:36:42 +0000 |
commit | 5ac1afbb2792251aceaf1fcb48716d7d61deb823 (patch) | |
tree | e5dec2e1e0c99f6690e7291899649da77fab94ce | |
parent | 63d68a03300503468ac2c1e97d08879a18765354 (diff) | |
download | ATCD-5ac1afbb2792251aceaf1fcb48716d7d61deb823.tar.gz |
ChangeLogTag: Mon Aug 26 20:34:11 2002 Jeff Parsons <parsons@cs.wustl.edu>
-rw-r--r-- | TAO/ChangeLog | 9 | ||||
-rw-r--r-- | TAO/TAO_IDL/ast/ast_interface.cpp | 4 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_interface.cpp | 4 |
3 files changed, 13 insertions, 4 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 536f610d38f..2c59caa8a95 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,12 @@ +Mon Aug 26 20:34:11 2002 Jeff Parsons <parsons@cs.wustl.edu> + + * TAO_IDL/ast/ast_interface.cpp: + * TAO_IDL/be/be_interface.cpp: + + Moved the assignment of the member size_type variable + to the base class constructor, as has been done for + the other BE node classes. + Mon Aug 26 17:17:58 2002 Ossama Othman <ossama@uci.edu> * tao/Exception.cpp (_tao_get_omg_exception_description): diff --git a/TAO/TAO_IDL/ast/ast_interface.cpp b/TAO/TAO_IDL/ast/ast_interface.cpp index 257097fedbe..6e9b020b13b 100644 --- a/TAO/TAO_IDL/ast/ast_interface.cpp +++ b/TAO/TAO_IDL/ast/ast_interface.cpp @@ -104,6 +104,8 @@ AST_Interface::AST_Interface (void) pd_inherits_flat (0), pd_n_inherits_flat (0) { + this->size_type (AST_Type::VARIABLE); // Always the case. + this->has_constructor (I_TRUE); // Always the case. } AST_Interface::AST_Interface (UTL_ScopedName *n, @@ -125,6 +127,8 @@ AST_Interface::AST_Interface (UTL_ScopedName *n, pd_inherits_flat (ih_flat), pd_n_inherits_flat (nih_flat) { + this->size_type (AST_Type::VARIABLE); // always the case + this->has_constructor (I_TRUE); // always the case } AST_Interface::~AST_Interface (void) diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp index b8b9b898df5..9edb28a37fc 100644 --- a/TAO/TAO_IDL/be/be_interface.cpp +++ b/TAO/TAO_IDL/be/be_interface.cpp @@ -48,8 +48,6 @@ be_interface::be_interface (void) { ACE_NEW (this->strategy_, be_interface_default_strategy (this)); - this->size_type (AST_Type::VARIABLE); // Always the case. - this->has_constructor (I_TRUE); // Always the case. } // Constructor used to build the AST. @@ -79,8 +77,6 @@ be_interface::be_interface (UTL_ScopedName *n, { ACE_NEW (this->strategy_, be_interface_default_strategy (this)); - this->size_type (AST_Type::VARIABLE); // always the case - this->has_constructor (I_TRUE); // always the case if (! abstract && this->node_type () == AST_Decl::NT_interface) { |