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 | c14bdc802129fc9ac8cd8c941b824b7a60c24bd3 (patch) | |
tree | 98b61943d2e9f14f0c12c0dd9a9e3e5677ff120d /TAO/TAO_IDL | |
parent | 00b0fe25b7714e551a16cb26090f2ea4e74ad5a7 (diff) | |
download | ATCD-c14bdc802129fc9ac8cd8c941b824b7a60c24bd3.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.
Diffstat (limited to 'TAO/TAO_IDL')
-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; |