summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp b/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp
index 3ca5ff12115..cc7fbcd1bfa 100644
--- a/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp
@@ -63,6 +63,9 @@ be_visitor_enum_ch::visit_enum (be_enum *node)
), -1);
}
+ os->indent ();
+ *os << node->local_name ()
+ << "_TAO_ENUM_32BIT_ENFORCER = 0xFFFFFFFF\n";
os->decr_indent ();
*os << "};" << be_nl;
// As per the ORBOS spec, we need the following typedef
@@ -96,7 +99,7 @@ be_visitor_enum_ch::post_process (be_decl *bd)
TAO_OutStream *os = this->ctx_->stream ();
// Am I the last one?
- if (!this->last_node (bd))
+// if (!this->last_node (bd))
*os << "," << be_nl;
return 0;
}