summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp
index b368ff8fc43..88901556894 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp
@@ -89,7 +89,7 @@ be_visitor_operation_rettype_vardecl_ss::visit_interface (be_interface *)
// return type may be some derived class
*os << "CORBA::Object_var _tao_retval = CORBA::Object::_nil ();\n";
#if 0 /* ASG */
- *os << "CORBA::Object_var _tao_retval = CORBA::Object::_nil ();" << be_nl;
+ *os << "CORBA::Object_var _tao_retval = CORBA::Object::_nil ();\n";
*os << "CORBA::Object_ptr &_tao_ptr_retval = _tao_retval.out ();\n";
#endif
return 0;
@@ -107,10 +107,10 @@ visit_interface_fwd (be_interface_fwd *)
// CORBA::Object_ptr as the type for the return value even though the actual
// return type may be some derived class
#if 0 /* ASG */
- *os << "CORBA::Object_var _tao_retval = CORBA::Object::_nil ();" << be_nl;
+ *os << "CORBA::Object_var _tao_retval = CORBA::Object::_nil ();\n";
*os << "CORBA::Object_ptr &_tao_ptr_retval = _tao_retval.out ();\n";
#endif
- *os << "CORBA::Object_var _tao_retval = CORBA::Object::_nil ();" << be_nl;
+ *os << "CORBA::Object_var _tao_retval = CORBA::Object::_nil ();\n";
return 0;
}
@@ -156,7 +156,7 @@ visit_predefined_type (be_predefined_type *node)
case AST_PredefinedType::PT_pseudo:
os->indent ();
#if 0 /* ASG */
- *os << bt->name () << "_var _tao_retval;" << be_nl;
+ *os << bt->name () << "_var _tao_retval;\n";
*os << bt->name () << "_ptr &_tao_ptr_retval = _tao_retval.out ();\n";
#endif
*os << bt->name () << "_var _tao_retval;\n";
@@ -164,7 +164,7 @@ visit_predefined_type (be_predefined_type *node)
case AST_PredefinedType::PT_any:
os->indent ();
#if 0 /* ASG */
- *os << bt->name () << "_var _tao_retval;" << be_nl;
+ *os << bt->name () << "_var _tao_retval;\n";
*os << bt->name () << "_ptr &_tao_ptr_retval = _tao_retval.out ();\n";
#endif
*os << bt->name () << "_var _tao_retval;\n";
@@ -194,7 +194,7 @@ be_visitor_operation_rettype_vardecl_ss::visit_sequence (be_sequence *node)
os->indent ();
#if 0 /* ASg */
- *os << bt->name () << "_var _tao_retval;" << be_nl;
+ *os << bt->name () << "_var _tao_retval;\n";
*os << bt->name () << " *&_tao_ptr_retval = _tao_retval.out ();\n";
#endif
*os << bt->name () << "_var _tao_retval;\n";
@@ -208,7 +208,7 @@ be_visitor_operation_rettype_vardecl_ss::visit_string (be_string * /* node*/)
os->indent ();
#if 0 /* ASG */
- *os << "CORBA::String_var _tao_retval;" << be_nl;
+ *os << "CORBA::String_var _tao_retval;\n";
*os << "char *&_tao_ptr_retval = _tao_retval.out ();\n";
#endif
*os << "CORBA::String_var _tao_retval;\n";
@@ -232,7 +232,7 @@ be_visitor_operation_rettype_vardecl_ss::visit_structure (be_structure *node)
if (node->size_type () == be_decl::VARIABLE)
{
#if 0 /* ASG */
- *os << bt->name () << "_var _tao_retval;" << be_nl;
+ *os << bt->name () << "_var _tao_retval;\n";
*os << bt->name () << " *&_tao_ptr_retval = _tao_retval.out ();\n";
#endif
*os << bt->name () << "_var _tao_retval;\n";
@@ -275,10 +275,10 @@ be_visitor_operation_rettype_vardecl_ss::visit_union (be_union *node)
if (node->size_type () == be_decl::VARIABLE)
{
#if 0 /* ASG */
- *os << bt->name () << "_var _tao_retval;" << be_nl;
+ *os << bt->name () << "_var _tao_retval;\n";
*os << bt->name () << " *&_tao_ptr_retval = _tao_retval.out ();\n";
#endif
- *os << bt->name () << "_var _tao_retval;" << be_nl;
+ *os << bt->name () << "_var _tao_retval;\n";
}
else
*os << bt->name () << " _tao_retval;\n";