summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_generator.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_generator.cpp70
1 files changed, 36 insertions, 34 deletions
diff --git a/TAO/TAO_IDL/be/be_generator.cpp b/TAO/TAO_IDL/be/be_generator.cpp
index da42383c03c..a0f32ba09d1 100644
--- a/TAO/TAO_IDL/be/be_generator.cpp
+++ b/TAO/TAO_IDL/be/be_generator.cpp
@@ -206,8 +206,8 @@ be_generator::create_interface (UTL_ScopedName *n,
long nih,
AST_Interface **ih_flat,
long nih_flat,
- bool l,
- bool a)
+ idl_bool l,
+ idl_bool a)
{
be_interface *retval = 0;
ACE_NEW_RETURN (retval,
@@ -225,11 +225,11 @@ be_generator::create_interface (UTL_ScopedName *n,
AST_InterfaceFwd *
be_generator::create_interface_fwd (UTL_ScopedName *n,
- bool local,
- bool abstract)
+ idl_bool local,
+ idl_bool abstract)
{
AST_Decl *d =
- idl_global->scopes ().top_non_null ()->lookup_by_name (n, true);
+ idl_global->scopes ().top_non_null ()->lookup_by_name (n, I_TRUE);
AST_Interface *dummy = this->create_interface (n,
0,
@@ -276,9 +276,9 @@ be_generator::create_valuetype (UTL_ScopedName *n,
AST_Interface **supports,
long n_supports,
AST_Interface *supports_concrete,
- bool abstract,
- bool truncatable,
- bool custom)
+ idl_bool abstract,
+ idl_bool truncatable,
+ idl_bool custom)
{
be_valuetype *retval = 0;
ACE_NEW_RETURN (retval,
@@ -301,7 +301,7 @@ be_generator::create_valuetype (UTL_ScopedName *n,
AST_ValueTypeFwd *
be_generator::create_valuetype_fwd (UTL_ScopedName *n,
- bool abstract)
+ idl_bool abstract)
{
AST_ValueType *dummy = this->create_valuetype (n,
0,
@@ -335,9 +335,9 @@ be_generator::create_eventtype (UTL_ScopedName *n,
AST_Interface **supports,
long n_supports,
AST_Interface *supports_concrete,
- bool abstract,
- bool truncatable,
- bool custom)
+ idl_bool abstract,
+ idl_bool truncatable,
+ idl_bool custom)
{
be_eventtype *retval = 0;
ACE_NEW_RETURN (retval,
@@ -360,7 +360,7 @@ be_generator::create_eventtype (UTL_ScopedName *n,
AST_EventTypeFwd *
be_generator::create_eventtype_fwd (UTL_ScopedName *n,
- bool abstract)
+ idl_bool abstract)
{
AST_EventType *dummy = this->create_eventtype (n,
0,
@@ -451,8 +451,8 @@ be_generator::create_home (UTL_ScopedName *n,
AST_Exception *
be_generator::create_exception (UTL_ScopedName *n,
- bool local,
- bool abstract)
+ idl_bool local,
+ idl_bool abstract)
{
be_exception *retval = 0;
ACE_NEW_RETURN (retval,
@@ -466,8 +466,8 @@ be_generator::create_exception (UTL_ScopedName *n,
AST_Structure *
be_generator::create_structure (UTL_ScopedName *n,
- bool local,
- bool abstract)
+ idl_bool local,
+ idl_bool abstract)
{
be_structure *retval = 0;
ACE_NEW_RETURN (retval,
@@ -497,8 +497,8 @@ be_generator::create_structure_fwd (UTL_ScopedName *n)
AST_Enum *
be_generator::create_enum (UTL_ScopedName *n,
- bool local,
- bool abstract)
+ idl_bool local,
+ idl_bool abstract)
{
be_enum *retval = 0;
ACE_NEW_RETURN (retval,
@@ -514,8 +514,8 @@ AST_Operation *
be_generator::create_operation (AST_Type *rt,
AST_Operation::Flags fl,
UTL_ScopedName *n,
- bool local,
- bool abstract)
+ idl_bool local,
+ idl_bool abstract)
{
be_operation *retval = 0;
ACE_NEW_RETURN (retval,
@@ -560,11 +560,11 @@ be_generator::create_argument (AST_Argument::Direction d,
}
AST_Attribute *
-be_generator::create_attribute (bool ro,
+be_generator::create_attribute (idl_bool ro,
AST_Type *ft,
UTL_ScopedName *n,
- bool local,
- bool abstract)
+ idl_bool local,
+ idl_bool abstract)
{
be_attribute *retval = 0;
ACE_NEW_RETURN (retval,
@@ -581,8 +581,8 @@ be_generator::create_attribute (bool ro,
AST_Union *
be_generator::create_union (AST_ConcreteType *dt,
UTL_ScopedName *n,
- bool local,
- bool abstract)
+ idl_bool local,
+ idl_bool abstract)
{
be_union *retval = 0;
ACE_NEW_RETURN (retval,
@@ -705,11 +705,13 @@ be_generator::create_expr (long l)
}
AST_Expression *
-be_generator::create_expr (bool b)
+be_generator::create_expr (long l,
+ AST_Expression::ExprType t)
{
be_expression *retval = 0;
ACE_NEW_RETURN (retval,
- be_expression (b),
+ be_expression (l,
+ t),
0);
return retval;
@@ -800,8 +802,8 @@ AST_Array *
be_generator::create_array (UTL_ScopedName *n,
unsigned long ndims,
UTL_ExprList *dims,
- bool local,
- bool abstract)
+ idl_bool local,
+ idl_bool abstract)
{
be_array *retval = 0;
ACE_NEW_RETURN (retval,
@@ -819,8 +821,8 @@ AST_Sequence *
be_generator::create_sequence (AST_Expression *v,
AST_Type *bt,
UTL_ScopedName *n,
- bool local,
- bool abstract)
+ idl_bool local,
+ idl_bool abstract)
{
be_sequence *retval = 0;
ACE_NEW_RETURN (retval,
@@ -878,8 +880,8 @@ be_generator::create_wstring (AST_Expression *v)
AST_Typedef *
be_generator::create_typedef (AST_Type *bt,
UTL_ScopedName *n,
- bool local,
- bool abstract)
+ idl_bool local,
+ idl_bool abstract)
{
be_typedef *retval = 0;
ACE_NEW_RETURN (retval,