summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-07-04 20:28:00 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-07-04 20:28:00 +0000
commit411687a0ae54dc62edb9f5c8ff9953c9da30d7bc (patch)
tree091e89534d1b3630be8f79dcf5119a13fa92c8c1
parente02ac7f148116bdf5f61ce7c8e8e7715338f7998 (diff)
downloadATCD-411687a0ae54dc62edb9f5c8ff9953c9da30d7bc.tar.gz
ChangeLogTag: Thu Jul 4 15:25:33 2002 Jeff Parsons <parsons@cs.wustl.edu>
-rw-r--r--TAO/ChangeLog8
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuetype/arglist.cpp14
2 files changed, 19 insertions, 3 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index b4dee4592b4..993a59eb896 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,11 @@
+Thu Jul 4 15:25:33 2002 Jeff Parsons <parsons@cs.wustl.edu>
+
+ * TAO_IDL/be/be_visitor_valuetype/arglist.cpp:
+
+ Added generation of newline where it will separate the
+ environment parameter from any previous parameters. They
+ were running together and causing build errors.
+
Thu Jul 4 15:00:06 2002 Jeff Parsons <parsons@cs.wustl.edu>
* orbsvcs/IFR_Service/ifr_visitor.cpp:
diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/arglist.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/arglist.cpp
index f88dc761654..546bf071ad1 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuetype/arglist.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuetype/arglist.cpp
@@ -98,8 +98,16 @@ be_visitor_obv_operation_arglist::visit_operation (be_operation *node)
// Use ACE_ENV_SINGLE_ARG_DECL or ACE_ENV_ARG_DECL depending on
// whether the operation node has parameters.
char const * env_decl = "ACE_ENV_ARG_DECL";
- if(node->argument_count() == 0)
- env_decl = "ACE_ENV_SINGLE_ARG_DECL";
+
+ if (node->argument_count() == 0)
+ {
+ env_decl = "ACE_ENV_SINGLE_ARG_DECL";
+ }
+ else
+ {
+ *os << be_nl;
+ }
+
*os << env_decl;
if (!amh_valuetype)
@@ -153,7 +161,7 @@ be_visitor_obv_operation_arglist::visit_operation (be_operation *node)
/***********************************************************/
else
{
- *os << " = 0;" << be_uidt_nl;
+ *os << " = 0;" << be_uidt_nl << be_nl;
}
break;
case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_IH: