summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_root.cpp
diff options
context:
space:
mode:
authorgokhale <gokhale@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-04 05:31:54 +0000
committergokhale <gokhale@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-04 05:31:54 +0000
commit440bc00140033f0d00af9c275fc8d73ff1e87fe9 (patch)
tree74884a0fdba919a9a035ad41c091723f3f066d3b /TAO/TAO_IDL/be/be_root.cpp
parentfd4a0252d94e25e3766880882e8b0665ecd1759e (diff)
downloadATCD-440bc00140033f0d00af9c275fc8d73ff1e87fe9.tar.gz
support for sequences
CVS: CVS:
Diffstat (limited to 'TAO/TAO_IDL/be/be_root.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_root.cpp32
1 files changed, 7 insertions, 25 deletions
diff --git a/TAO/TAO_IDL/be/be_root.cpp b/TAO/TAO_IDL/be/be_root.cpp
index 727df13b016..4fbe89ebf3a 100644
--- a/TAO/TAO_IDL/be/be_root.cpp
+++ b/TAO/TAO_IDL/be/be_root.cpp
@@ -2,7 +2,7 @@
//
// = LIBRARY
// TAO IDL
-//
+//
// = FILENAME
// be_root.cpp
//
@@ -12,9 +12,9 @@
//
// = AUTHOR
// Copyright 1994-1995 by Sun Microsystems, Inc.
-// and
+// and
// Aniruddha Gokhale
-//
+//
// ============================================================================
#include "idl.h"
@@ -31,16 +31,8 @@ be_root::be_root (UTL_ScopedName *n, UTL_StrList *p)
: AST_Root (n, p),
AST_Decl (AST_Decl::NT_root, n, p),
UTL_Scope (AST_Decl::NT_root)
-
-{
- // computes the repoID
- compute_repoID ();
-
- // computes the fully scoped name
- compute_fullname ();
- // compute the flattened fully scoped name
- compute_flatname ();
+{
}
// =====================================================
@@ -50,16 +42,6 @@ be_root::be_root (UTL_ScopedName *n, UTL_StrList *p)
// Starting point for the code generation. Called inside BE_produce ()
int be_root::gen_idl2cplusplus_mapping (void)
{
- int i; // loop index
- UTL_ScopeActiveIterator *si; // instance of a scope iterator
- AST_Decl *d; // points to an individual node in the
- // chain of nodes in the current scope
-
- // Macro to avoid "warning: unused parameter" type warning.
- ACE_UNUSED_ARG (d);
- ACE_UNUSED_ARG (si);
- ACE_UNUSED_ARG (i);
-
// this is the main starting point from which the files are generated. We
// delegate the task of code generation to a special Code Generation
// object. This allows a number of different front ends to access the services
@@ -67,7 +49,7 @@ int be_root::gen_idl2cplusplus_mapping (void)
// C++ mapping involves producing 6 files. These include the client and
// server side headers, the client and server side inlines, as well as client
- // stubs and server skeletons.
+ // stubs and server skeletons.
if (this->gen_client_header () == -1)
{
ACE_ERROR ((LM_ERROR, "be_root: Error generating client header file: %s\n",
@@ -206,8 +188,8 @@ int be_root::gen_server_header (void)
// delegate the task of code generation to the scope
if (be_scope::gen_server_header () == -1)
{
- ACE_ERROR ((LM_ERROR,
- "be_root: server code generation for scope failed\n"));
+ ACE_ERROR ((LM_ERROR,
+ "be_root: server code generation for scope failed\n"));
return -1;
}