diff options
author | gokhale <gokhale@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-10 19:44:50 +0000 |
---|---|---|
committer | gokhale <gokhale@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-10 19:44:50 +0000 |
commit | 224ae3282f9aac759dbfa07c59fcb6a86363b72d (patch) | |
tree | b8fe05c28ebf90babb27c47e96eb180f5012383a /TAO/TAO_IDL/be/be_enum.cpp | |
parent | 8a7cf38481931c39d7598b8988a4c58a283d76e7 (diff) | |
download | ATCD-224ae3282f9aac759dbfa07c59fcb6a86363b72d.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/TAO_IDL/be/be_enum.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_enum.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_enum.cpp b/TAO/TAO_IDL/be/be_enum.cpp index ae430917c03..6493760fc40 100644 --- a/TAO/TAO_IDL/be/be_enum.cpp +++ b/TAO/TAO_IDL/be/be_enum.cpp @@ -26,6 +26,7 @@ */ be_enum::be_enum (void) { + this->size_type (be_decl::FIXED); } be_enum::be_enum (UTL_ScopedName *n, UTL_StrList *p) @@ -34,6 +35,7 @@ be_enum::be_enum (UTL_ScopedName *n, UTL_StrList *p) UTL_Scope (AST_Decl::NT_enum), member_count_ (-1) { + this->size_type (be_decl::FIXED); } // compute total number of members @@ -159,7 +161,6 @@ be_enum::gen_client_stubs (void) cg->push (TAO_CodeGen::TAO_ENUM_CS); // set current code gen state cs = cg->client_stubs (); - cg->outstream (cs); // generate the typecode information here cs->indent (); // start from current indentation level @@ -250,7 +251,7 @@ be_enum::gen_encapsulation (void) long *arr; // an array holding string names converted to array of longs - cs = cg->outstream (); + cs = cg->client_stubs (); cs->indent (); // start from whatever indentation level we were at *cs << "TAO_ENCAP_BYTE_ORDER, // byte order" << nl; |