summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_sunsoft.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_sunsoft.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_sunsoft.cpp23
1 files changed, 5 insertions, 18 deletions
diff --git a/TAO/TAO_IDL/be/be_sunsoft.cpp b/TAO/TAO_IDL/be/be_sunsoft.cpp
index aeba95b44ba..442d693007e 100644
--- a/TAO/TAO_IDL/be/be_sunsoft.cpp
+++ b/TAO/TAO_IDL/be/be_sunsoft.cpp
@@ -3,7 +3,7 @@
#include "idl.h"
#include "idl_extern.h"
#include "be.h"
-#include "be_sunsoft.h"
+#include "be_sunsoft.h"
ACE_RCSID(be, be_sunsoft, "$Id$")
@@ -74,14 +74,8 @@ TAO_SunSoft_OutStream::print (AST_Expression *expr)
this->TAO_OutStream::print ("%ld", ev->u.ulval);
break;
case AST_Expression::EV_longlong:
-#if ! defined (ACE_LACKS_LONGLONG_T)
- this->TAO_OutStream::print ("%ld", ev->u.llval);
-#endif /* ! defined (ACE_LACKS_LONGLONG_T) */
break;
case AST_Expression::EV_ulonglong:
-#if ! defined (ACE_LACKS_LONGLONG_T)
- this->TAO_OutStream::print ("%ld", ev->u.ullval);
-#endif /* ! defined (ACE_LACKS_LONGLONG_T) */
break;
case AST_Expression::EV_float:
this->TAO_OutStream::print ("%f", ev->u.fval);
@@ -93,8 +87,8 @@ TAO_SunSoft_OutStream::print (AST_Expression *expr)
break;
case AST_Expression::EV_char:
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':
@@ -118,20 +112,13 @@ TAO_SunSoft_OutStream::print (AST_Expression *expr)
case '\a':
this->TAO_OutStream::print ("'\\a'");
break;
- case '\\':
- this->TAO_OutStream::print ("'\\'");
- break;
- case '\?':
- this->TAO_OutStream::print ("'?'");
- break;
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 ("%ld", ev->u.wcval);
break;
case AST_Expression::EV_octet:
this->TAO_OutStream::print ("%d", ev->u.oval);