summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_argument
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-16 16:59:29 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-16 16:59:29 +0000
commit7eafc6e80fe9ce61498a93a24c663810ceafc893 (patch)
treed7fb6e27e8c97a055754155eedc3c33dec0dffba /TAO/TAO_IDL/be/be_visitor_argument
parenta38be6244a2e89c3b54c5337a7e6058dd3546f5e (diff)
downloadATCD-7eafc6e80fe9ce61498a93a24c663810ceafc893.tar.gz
ChangeLogTag: Thu Sep 16 11:49:32 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_argument')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_argument/paramlist.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_argument/paramlist.cpp b/TAO/TAO_IDL/be/be_visitor_argument/paramlist.cpp
index 2fa4e527ac7..fbb5e7613cd 100644
--- a/TAO/TAO_IDL/be/be_visitor_argument/paramlist.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_argument/paramlist.cpp
@@ -101,11 +101,12 @@ int be_visitor_args_paramlist::visit_argument (be_argument *node)
*os << " _tao_forany_" << node->local_name () << " (";
*os << this->type_name (bt, "_dup");
*os << " (";
- // This is to placate some compilers which have
- // trouble with IN args that are multidimensional arrays.
- //if (node->n_dims () > 1) cant do this here since dont have a be_array node
+
if (this->direction () != AST_Argument::dir_IN)
- *os << "(const ::" << bt->name () << "_slice *) ";
+ {
+ *os << "(const ::" << bt->name () << "_slice *) ";
+ }
+
*os << "this->";
*os << node->local_name () << "_));" << be_nl;
*os << "(*parameter_list)[len].argument <<= _tao_forany_" ;