summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include
diff options
context:
space:
mode:
authormk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-26 09:23:29 +0000
committermk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-26 09:23:29 +0000
commit9abe6ad1e1b6a54a011fa1285ea6ee9164ebe73c (patch)
tree71d95f6bb49eafb6ab5b4f5322c42565ad3601c6 /TAO/TAO_IDL/include
parent65ee81f3ca23219090d3d363d092c4ad171718f2 (diff)
downloadATCD-9abe6ad1e1b6a54a011fa1285ea6ee9164ebe73c.tar.gz
ChangeLogTag: Sun Sep 26 04:20:00 1999 Michael Kircher <Michael.Kicher@mchp.siemens.de>
Diffstat (limited to 'TAO/TAO_IDL/include')
-rw-r--r--TAO/TAO_IDL/include/ast_module.h3
-rw-r--r--TAO/TAO_IDL/include/utl_scope.h8
2 files changed, 8 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/include/ast_module.h b/TAO/TAO_IDL/include/ast_module.h
index fbefe374c73..bf55c9f5cb0 100644
--- a/TAO/TAO_IDL/include/ast_module.h
+++ b/TAO/TAO_IDL/include/ast_module.h
@@ -102,7 +102,7 @@ public:
idl_bool has_nested_valuetype ();
// Allows adding an interface to a later point
- int be_add_interface (AST_Interface *i);
+ int be_add_interface (AST_Interface *i, AST_Interface *ix = 0);
private:
friend void fe_populate(AST_Module *m);
@@ -112,6 +112,7 @@ private:
virtual AST_PredefinedType *fe_add_predefined_type(AST_PredefinedType *t);
virtual AST_Module *fe_add_module(AST_Module *m);
+ // Add the current interface i before interface ix
virtual AST_Interface *fe_add_interface(AST_Interface *i);
virtual AST_InterfaceFwd *fe_add_interface_fwd(AST_InterfaceFwd *i);
virtual AST_Constant *fe_add_constant(AST_Constant *c);
diff --git a/TAO/TAO_IDL/include/utl_scope.h b/TAO/TAO_IDL/include/utl_scope.h
index 1d016d6e1ec..3e60aae0b48 100644
--- a/TAO/TAO_IDL/include/utl_scope.h
+++ b/TAO/TAO_IDL/include/utl_scope.h
@@ -190,14 +190,18 @@ protected:
// defined elsewhere were referenced in this scope
// Add to decls. Node represents a local declaration
- void add_to_scope(AST_Decl *e);
+ // The new decl e is inserted before ex if ex is not 0
+ void add_to_scope(AST_Decl *e,
+ AST_Decl *ex = 0);
// Add to local types. Node represents a local manifest type
void add_to_local_types(AST_Decl *e);
// Add to referenced nodes set.
+ // If pos is not -1 it will be inserted at the the given position
void add_to_referenced(AST_Decl *e,
- idl_bool recursive);
+ idl_bool recursive,
+ AST_Decl *ex = 0);
// Has this node been referenced here already?
idl_bool referenced(AST_Decl *e);