diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-06-15 18:56:10 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-06-15 18:56:10 +0000 |
commit | 535b0cc71b467d95736eea8e9e778e4bbc4c219b (patch) | |
tree | e277eb69bd06fc41160331de91494d950eb3a978 /TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp | |
parent | 16ca54df56baba2206df610d38e5a3143b8c1ce9 (diff) | |
download | ATCD-535b0cc71b467d95736eea8e9e778e4bbc4c219b.tar.gz |
ChangeLogTag: Thu Jun 15 15:05:43 UTC 2006 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp b/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp index a6632d5dae7..d2b54b60440 100644 --- a/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp +++ b/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp @@ -77,9 +77,6 @@ int TAO::be_visitor_struct_typecode::visit (AST_Structure * node, bool is_exception) { - // Exceptions cannot be recursive. -// ACE_ASSERT (!is_exception || (is_exception && !this->in_recursion_)); - this->is_nested_ = true; TAO_OutStream & os = *this->ctx_->stream (); @@ -96,7 +93,8 @@ TAO::be_visitor_struct_typecode::visit (AST_Structure * node, "TypeCodes.\n"), -1); - std::string const fields_name (std::string ("_tao_fields_") + static ACE_CString const tao_fields ("_tao_fields_"); + ACE_CString const fields_name (tao_fields + node->flat_name ()); // Generate array containing struct field characteristics. |