summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-24 22:23:06 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-24 22:23:06 +0000
commit5c90ecd0e58510a4e6968c99ceaa59c57c1bfe58 (patch)
treeaec176a289b5deed0b166dc1177e8c4c1bfaee74 /TAO/TAO_IDL/be/be_visitor_operation.cpp
parent99c5b6b4cb618dfa91adf84b036d0a56958863ab (diff)
downloadATCD-5c90ecd0e58510a4e6968c99ceaa59c57c1bfe58.tar.gz
Added function closing code for one way skel call.
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation.cpp b/TAO/TAO_IDL/be/be_visitor_operation.cpp
index 35f934038d7..95f2209f3e6 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation.cpp
@@ -1016,7 +1016,9 @@ be_visitor_operation_ss::visit_operation (be_operation *node)
// STEP 3G: check if we are oneway in which case, we are done
if (node->flags () == AST_Operation::OP_oneway)
{
- // we are done. Nothing else to do
+ // we are done. Nothing else to do, except closing the funciton body.
+ os->decr_indent ();
+ *os << "}\n\n";
return 0;
}