diff options
author | gokhale <asgokhale@users.noreply.github.com> | 1998-03-25 01:19:36 +0000 |
---|---|---|
committer | gokhale <asgokhale@users.noreply.github.com> | 1998-03-25 01:19:36 +0000 |
commit | dcad7a517d5e5e295561a5fa58dfd32a66d74cd6 (patch) | |
tree | d85e7fd272e500ed384ea5522a2f0568286371bc /TAO/TAO_IDL | |
parent | d09ff0497469a79954794eba6219e8f140e4319c (diff) | |
download | ATCD-dcad7a517d5e5e295561a5fa58dfd32a66d74cd6.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/TAO_IDL')
-rw-r--r-- | TAO/TAO_IDL/be/be_exception.cpp | 2 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_exception.cpp | 2 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_operation.cpp | 5 |
3 files changed, 5 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_exception.cpp b/TAO/TAO_IDL/be/be_exception.cpp index 975c4381ed6..b8eb55018d1 100644 --- a/TAO/TAO_IDL/be/be_exception.cpp +++ b/TAO/TAO_IDL/be/be_exception.cpp @@ -377,7 +377,7 @@ be_exception::gen_client_stubs (void) *cs << "};" << nl; *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_struct, sizeof (_oc_" << this->flatname () << + " (CORBA::tk_except, sizeof (_oc_" << this->flatname () << "), (char *) &_oc_" << this->flatname () << ", CORBA::B_FALSE);" << nl; *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << diff --git a/TAO/TAO_IDL/be/be_visitor_exception.cpp b/TAO/TAO_IDL/be/be_visitor_exception.cpp index 75e4bdb889d..88136b1c1fd 100644 --- a/TAO/TAO_IDL/be/be_visitor_exception.cpp +++ b/TAO/TAO_IDL/be/be_visitor_exception.cpp @@ -414,7 +414,7 @@ int be_visitor_exception_cs::visit_exception (be_exception *node) *os << "};" << be_nl; *os << "static CORBA::TypeCode _tc__tc_" << node->flatname () << - " (CORBA::tk_struct, sizeof (_oc_" << node->flatname () << + " (CORBA::tk_except, sizeof (_oc_" << node->flatname () << "), (char *) &_oc_" << node->flatname () << ", CORBA::B_FALSE);" << be_nl; *os << "CORBA::TypeCode_ptr " << node->tc_name () << " = &_tc__tc_" << diff --git a/TAO/TAO_IDL/be/be_visitor_operation.cpp b/TAO/TAO_IDL/be/be_visitor_operation.cpp index 95f2209f3e6..cde24e628d6 100644 --- a/TAO/TAO_IDL/be/be_visitor_operation.cpp +++ b/TAO/TAO_IDL/be/be_visitor_operation.cpp @@ -997,7 +997,7 @@ be_visitor_operation_ss::visit_operation (be_operation *node) *os << "_tao_environment"; // end the upcall *os << be_uidt_nl; - *os << ");" << be_nl; + *os << ");\n"; // STEP 3F: do any post processing for the arguments ctx = *this->ctx_; @@ -1016,7 +1016,7 @@ 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, except closing the funciton body. + // we are done. Nothing else to do, except closing the funciton body. os->decr_indent (); *os << "}\n\n"; return 0; @@ -1024,6 +1024,7 @@ be_visitor_operation_ss::visit_operation (be_operation *node) // STEP 3H: setup parameters for marshaling and marshal them into the // outgoing stream + os->indent (); *os << "_tao_server_request.marshal (" << be_idt_nl << "_tao_environment, " << be_nl << "&"; |