summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_attribute.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_attribute.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_attribute.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/TAO_IDL/ast/ast_attribute.cpp b/TAO/TAO_IDL/ast/ast_attribute.cpp
index bbc7f6deec5..7f19a28e6be 100644
--- a/TAO/TAO_IDL/ast/ast_attribute.cpp
+++ b/TAO/TAO_IDL/ast/ast_attribute.cpp
@@ -79,8 +79,8 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
#include "utl_err.h"
#include "global_extern.h"
-ACE_RCSID (ast,
- ast_attribute,
+ACE_RCSID (ast,
+ ast_attribute,
"$Id$")
// Constructor(s) and destructor.
@@ -88,17 +88,17 @@ AST_Attribute::AST_Attribute (void)
: COMMON_Base (),
AST_Decl (),
AST_Field (),
- pd_readonly (true),
+ pd_readonly (I_TRUE),
pd_get_exceptions (0),
pd_set_exceptions (0)
{
}
-AST_Attribute::AST_Attribute (bool ro,
+AST_Attribute::AST_Attribute (idl_bool ro,
AST_Type *ft,
UTL_ScopedName *n,
- bool local,
- bool abstract)
+ idl_bool local,
+ idl_bool abstract)
: COMMON_Base (local,
abstract),
AST_Decl (AST_Decl::NT_attr,
@@ -122,7 +122,7 @@ AST_Attribute::~AST_Attribute (void)
void
AST_Attribute::dump (ACE_OSTREAM_TYPE &o)
{
- this->dump_i (o, (this->pd_readonly == true ?
+ this->dump_i (o, (this->pd_readonly == I_TRUE ?
"readonly attribute " : "attribute "));
AST_Field::dump (o);
}
@@ -167,7 +167,7 @@ AST_Attribute::be_add_set_exceptions (UTL_ExceptList *t)
// Data accessors.
-bool
+idl_bool
AST_Attribute::readonly (void) const
{
return this->pd_readonly;
@@ -201,7 +201,7 @@ AST_Attribute::fe_add_get_exceptions (UTL_NameList *t)
nl_n = nl_i.item ();
d = this->defined_in ()->lookup_by_name (nl_n,
- true);
+ I_TRUE);
if (d == 0 || d->node_type() != AST_Decl::NT_except)
{
@@ -256,7 +256,7 @@ AST_Attribute::fe_add_set_exceptions (UTL_NameList *t)
nl_n = nl_i.item ();
d = this->defined_in ()->lookup_by_name (nl_n,
- true);
+ I_TRUE);
if (d == 0 || d->node_type() != AST_Decl::NT_except)
{