summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-07 17:06:00 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-07 17:06:00 +0000
commitbf0a5de45b0714d0f626d67d78b2e67abe56cc22 (patch)
treed4f0d3e002629373db98c8c126619294c6031b74 /TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp
parent9c2498e5de9efe944ca5a79c5bd31f95b147b9bd (diff)
downloadATCD-bf0a5de45b0714d0f626d67d78b2e67abe56cc22.tar.gz
ChangeLogTag: Mon Apr 7 11:56:59 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp37
1 files changed, 15 insertions, 22 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp
index b05e3a64b9e..63b81d68d8d 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp
@@ -199,29 +199,22 @@ be_visitor_obv_module::visit_eventtype (be_eventtype *node)
switch (this->ctx_->state ())
{
- case TAO_CodeGen::TAO_MODULE_OBV_CH:
- ctx.state (TAO_CodeGen::TAO_VALUETYPE_OBV_CH);
- break;
- case TAO_CodeGen::TAO_MODULE_OBV_CI:
- {
- // This context state is not involved in any strategies.
- ctx.state (TAO_CodeGen::TAO_VALUETYPE_OBV_CI);
- be_visitor_eventtype_obv_ci visitor (&ctx);
- status = node->accept (&visitor);
+ case TAO_CodeGen::TAO_MODULE_OBV_CH:
+ ctx.state (TAO_CodeGen::TAO_VALUETYPE_OBV_CH);
break;
- }
- case TAO_CodeGen::TAO_MODULE_OBV_CS:
- ctx.state (TAO_CodeGen::TAO_VALUETYPE_OBV_CS);
- break;
- default:
- {
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%N:%l) be_visitor_obv_module::"
- "visit_valuetype - "
- "Bad context state\n"
- ),
- -1);
- }
+ case TAO_CodeGen::TAO_MODULE_OBV_CI:
+ {
+ // This context state is not involved in any strategies.
+ ctx.state (TAO_CodeGen::TAO_VALUETYPE_OBV_CI);
+ be_visitor_eventtype_obv_ci visitor (&ctx);
+ status = node->accept (&visitor);
+ break;
+ }
+ case TAO_CodeGen::TAO_MODULE_OBV_CS:
+ ctx.state (TAO_CodeGen::TAO_VALUETYPE_OBV_CS);
+ break;
+ default:
+ return 0;
}
if (status == 0)