diff options
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_component.cpp')
-rw-r--r-- | TAO/TAO_IDL/ast/ast_component.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/TAO/TAO_IDL/ast/ast_component.cpp b/TAO/TAO_IDL/ast/ast_component.cpp index 6c9e2054984..b83509eff93 100644 --- a/TAO/TAO_IDL/ast/ast_component.cpp +++ b/TAO/TAO_IDL/ast/ast_component.cpp @@ -8,8 +8,8 @@ #include "utl_err.h" #include "global_extern.h" -ACE_RCSID (ast, - ast_component, +ACE_RCSID (ast, + ast_component, "$Id$") AST_Component::AST_Component (void) @@ -28,8 +28,8 @@ AST_Component::AST_Component (UTL_ScopedName *n, long n_supports, AST_Interface **supports_flat, long n_supports_flat) - : COMMON_Base (false, - false), + : COMMON_Base (I_FALSE, + I_FALSE), AST_Decl (AST_Decl::NT_component, n), AST_Type (AST_Decl::NT_component, @@ -40,8 +40,8 @@ AST_Component::AST_Component (UTL_ScopedName *n, n_supports, supports_flat, n_supports_flat, - false, - false), + I_FALSE, + I_FALSE), pd_base_component (base_component) { } @@ -75,22 +75,22 @@ AST_Component::redefine (AST_Interface *from) AST_Decl * AST_Component::look_in_inherited (UTL_ScopedName *e, - bool treat_as_ref) + idl_bool treat_as_ref) { AST_Decl *d = 0; - + if (this->pd_base_component != 0) { d = this->pd_base_component->lookup_by_name (e, treat_as_ref); } - + return d; } // Look through supported interface list. AST_Decl * AST_Component::look_in_supported (UTL_ScopedName *e, - bool treat_as_ref) + idl_bool treat_as_ref) { AST_Decl *d = 0; AST_Interface **is = 0; @@ -121,7 +121,7 @@ AST_Component::look_in_supported (UTL_ScopedName *e, break; } } - + return d; } @@ -137,7 +137,7 @@ AST_Component::supports (void) const return this->inherits (); } -long +long AST_Component::n_supports (void) const { return this->n_inherits (); @@ -223,7 +223,7 @@ AST_Component::ast_accept (ast_visitor *visitor) return visitor->visit_component (this); } -bool +idl_bool AST_Component::redef_clash (void) { if (this->AST_Interface::redef_clash ()) |