diff options
author | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-26 02:18:15 +0000 |
---|---|---|
committer | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-26 02:18:15 +0000 |
commit | 96827a81bdd2f396d6a38ee2b6636a5d7a90be14 (patch) | |
tree | 4fdabb58e2fbf03f059a567149407c583d9aa6a5 | |
parent | f36ab89d50671d0b1b5776704d4a09d79a1ef62e (diff) | |
download | ATCD-PI2.tar.gz |
*** empty log message ***PI2
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp index ed20f429275..c1b9777a122 100644 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp +++ b/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp @@ -353,15 +353,17 @@ be_visitor_operation_ss::visit_operation (be_operation *node) || bt->base_node_type () == AST_Decl::NT_array) { *os << "_tao_retval._retn ();"; - *os << "#if (TAO_HAS_INTERCEPTORS == 1)" << be_nl; + *os << be_nl <<"#if (TAO_HAS_INTERCEPTORS == 1)" << be_nl; *os << be_nl << " ri.result (_tao_retval_info);" - << be_nl << "_tao_retval = _tao_retval_info;" <<be_nl; + << be_nl << "_tao_retval = _tao_retval_info;" <<be_nl + << "#endif /* TAO_HAS_INTERCEPTORS */\n\n"; } else { *os << "_tao_retval;"; - *os << "#if (TAO_HAS_INTERCEPTORS == 1)" << be_nl; - *os << be_nl << " ri.result (_tao_retval_info);" << be_nl; + *os << be_nl <<"#if (TAO_HAS_INTERCEPTORS == 1)" << be_nl; + *os << be_nl << " ri.result (_tao_retval_info);" << be_nl + << "#endif /* TAO_HAS_INTERCEPTORS */\n\n"; } /* *os << "// Update the result" << be_nl @@ -385,7 +387,7 @@ be_visitor_operation_ss::visit_operation (be_operation *node) *os << "TAO_INTERCEPTOR_CHECK;\n\n"; // do postinvoke, and check for exception. - + *os << be_nl <<"#if (TAO_HAS_INTERCEPTORS == 1)" << be_nl; *os << be_uidt_nl << " _tao_vfr.send_reply (&ri, ACE_TRY_ENV);"<<be_nl << "TAO_INTERCEPTOR_CHECK;" << be_uidt_nl |