diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-16 01:28:02 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-16 01:28:02 +0000 |
commit | c24a6405b1bc439a86106f9933b5d380df341870 (patch) | |
tree | 98b61943d2e9f14f0c12c0dd9a9e3e5677ff120d | |
parent | 76402446376f26357b774c6b1b63344ebd410395 (diff) | |
download | ATCD-c24a6405b1bc439a86106f9933b5d380df341870.tar.gz |
Uncommented an arg in generated code that was actually used in
the generated function, and added 'u' to the end of integer
literals, if they are unsigned.
-rw-r--r-- | TAO/TAO_IDL/be/be_sunsoft.cpp | 6 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_sunsoft.cpp b/TAO/TAO_IDL/be/be_sunsoft.cpp index 86cea07d781..ac68ae4d46b 100644 --- a/TAO/TAO_IDL/be/be_sunsoft.cpp +++ b/TAO/TAO_IDL/be/be_sunsoft.cpp @@ -65,13 +65,13 @@ TAO_SunSoft_OutStream::print (AST_Expression *expr) this->TAO_OutStream::print ("%hd", ev->u.sval); break; case AST_Expression::EV_ushort: - this->TAO_OutStream::print ("%hu", ev->u.usval); + this->TAO_OutStream::print ("%hu%c", ev->u.usval, 'u'); break; case AST_Expression::EV_long: this->TAO_OutStream::print ("%ld", ev->u.lval); break; case AST_Expression::EV_ulong: - this->TAO_OutStream::print ("%u", ev->u.ulval); + this->TAO_OutStream::print ("%u%c", ev->u.ulval, 'u'); break; case AST_Expression::EV_longlong: #if ! defined (ACE_LACKS_LONGLONG_T) @@ -80,7 +80,7 @@ TAO_SunSoft_OutStream::print (AST_Expression *expr) break; case AST_Expression::EV_ulonglong: #if ! defined (ACE_LACKS_LONGLONG_T) - this->TAO_OutStream::print ("%u", ev->u.ullval); + this->TAO_OutStream::print ("%u%c", ev->u.ullval, 'u'); #endif /* ! defined (ACE_LACKS_LONGLONG_T) */ break; case AST_Expression::EV_float: diff --git a/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp index a9a98ea6413..789394d6f72 100644 --- a/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp @@ -193,7 +193,7 @@ int be_visitor_union_cs::visit_union (be_union *node) os->indent (); *os << "// the virtual overloaded access method" << be_nl; *os << "void *" << node->name () << "::_access (" - << " CORBA::Boolean /*alloc_flag*/)" << be_nl; + << " CORBA::Boolean alloc_flag)" << be_nl; *os << "{" << be_idt_nl; *os << "switch (this->disc_)" << be_nl; *os << "{" << be_idt_nl; |