summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp
index 94a6c91cd88..a58a6c41de8 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp
@@ -64,6 +64,9 @@ be_visitor_operation_cs::visit_operation (be_operation *node)
os = this->ctx_->stream ();
this->ctx_->node (node); // save the node for future use
+ if (this->ctx_->state () == TAO_CodeGen::TAO_LOCAL_OPERATION_S)
+ return 0;
+
os->indent (); // start with the current indentation level
// retrieve the operation return type