diff options
Diffstat (limited to 'TAO/CIAO/tools/IDL3_to_IDL2/be_sunsoft.cpp')
-rw-r--r-- | TAO/CIAO/tools/IDL3_to_IDL2/be_sunsoft.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/TAO/CIAO/tools/IDL3_to_IDL2/be_sunsoft.cpp b/TAO/CIAO/tools/IDL3_to_IDL2/be_sunsoft.cpp index 71c67116ab1..fe0810a4202 100644 --- a/TAO/CIAO/tools/IDL3_to_IDL2/be_sunsoft.cpp +++ b/TAO/CIAO/tools/IDL3_to_IDL2/be_sunsoft.cpp @@ -9,8 +9,8 @@ #include "ace/OS_NS_string.h" #include "ace/os_include/os_ctype.h" -ACE_RCSID (be, - be_sunsoft, +ACE_RCSID (be, + be_sunsoft, "$Id$") TAO_SunSoft_OutStream::TAO_SunSoft_OutStream (void) @@ -34,8 +34,8 @@ TAO_SunSoft_OutStream::print (Identifier *id) TAO_OutStream & TAO_SunSoft_OutStream::print (UTL_IdList *idl) { - long first = true; - long second = false; + long first = I_TRUE; + long second = I_FALSE; Identifier *id = 0; for (UTL_IdListActiveIterator i (idl); !i.is_done (); i.next ()) @@ -46,7 +46,7 @@ TAO_SunSoft_OutStream::print (UTL_IdList *idl) } else if (second) { - first = second = false; + first = second = I_FALSE; } // Print the identifier. @@ -58,11 +58,11 @@ TAO_SunSoft_OutStream::print (UTL_IdList *idl) if (ACE_OS::strcmp (id->get_string (), "") != 0) { // Does not start with a "". - first = false; + first = I_FALSE; } else { - second = true; + second = I_TRUE; } } } @@ -126,8 +126,8 @@ TAO_SunSoft_OutStream::print (AST_Expression *expr) else if ((unsigned char) ev->u.cval > ACE_CHAR_MAX) this->TAO_OutStream::print ("%hd", ev->u.cval); else if (isprint (ev->u.cval)) - this->TAO_OutStream::print ("'%c'", ev->u.cval); - else if (iscntrl (ev->u.cval)) + this->TAO_OutStream::print ("'%c'", ev->u.cval); + else if (iscntrl (ev->u.cval)) switch (ev->u.cval) { case '\n': @@ -157,8 +157,8 @@ TAO_SunSoft_OutStream::print (AST_Expression *expr) default: this->TAO_OutStream::print ("'\\x%x'", ev->u.cval); } - else - this->TAO_OutStream::print ("'\\x%x'", ev->u.cval); + else + this->TAO_OutStream::print ("'\\x%x'", ev->u.cval); break; case AST_Expression::EV_wchar: this->TAO_OutStream::print ("L'%lc'", ev->u.wcval); |