diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-13 01:59:58 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-13 01:59:58 +0000 |
commit | 32efadd5264191b8b51850e0a8b201dc77ad999a (patch) | |
tree | 0761347edef980bf570b7ed053f8417a030560f4 /TAO/TAO_IDL | |
parent | 25347671ab67c15b1a97e8d6e2b862b745347587 (diff) | |
download | ATCD-32efadd5264191b8b51850e0a8b201dc77ad999a.tar.gz |
ChangeLogTag: Thu Aug 12 20:55:44 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'TAO/TAO_IDL')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp | 11 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_module/module_sh.cpp | 9 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp | 2 |
3 files changed, 10 insertions, 12 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp b/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp index bdecfc4e071..12ee2c177af 100644 --- a/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp @@ -1,4 +1,3 @@ -// // $Id$ // @@ -18,9 +17,9 @@ // // ============================================================================ -#include "idl.h" -#include "idl_extern.h" -#include "be.h" +#include "idl.h" +#include "idl_extern.h" +#include "be.h" #include "be_visitor_module.h" @@ -57,7 +56,7 @@ be_visitor_module_ch::visit_module (be_module *node) os->indent (); // start from whatever indentation level we were at // now generate the class definition *os << "TAO_NAMESPACE " // << idl_global->stub_export_macro () - << " " << node->local_name () << be_nl + << " " << node->local_name () << be_nl << "{\n"; os->incr_indent (0); @@ -73,7 +72,7 @@ be_visitor_module_ch::visit_module (be_module *node) } *os << be_uidt_nl - << "}; // module " << node->name () << "\n\n"; + << "}\nTAO_NAMESPACE_CLOSE // module " << node->name () << "\n\n"; } return 0; diff --git a/TAO/TAO_IDL/be/be_visitor_module/module_sh.cpp b/TAO/TAO_IDL/be/be_visitor_module/module_sh.cpp index c2eabbdf962..40c3b1d98ca 100644 --- a/TAO/TAO_IDL/be/be_visitor_module/module_sh.cpp +++ b/TAO/TAO_IDL/be/be_visitor_module/module_sh.cpp @@ -1,4 +1,3 @@ -// // $Id$ // @@ -18,9 +17,9 @@ // // ============================================================================ -#include "idl.h" -#include "idl_extern.h" -#include "be.h" +#include "idl.h" +#include "idl_extern.h" +#include "be.h" #include "be_visitor_module.h" @@ -76,7 +75,7 @@ be_visitor_module_sh::visit_module (be_module *node) } os->decr_indent (); - *os << "};\n\n"; + *os << "}\nTAO_NAMESPACE_CLOSE\n\n"; } return 0; diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp index 1429a4d15cd..52e995e47e5 100644 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp +++ b/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp @@ -84,7 +84,7 @@ be_visitor_obv_module::visit_module (be_module *node) if (this->ctx_->state () == TAO_CodeGen::TAO_MODULE_OBV_CH) { os->decr_indent (); - *os << "};\n\n"; + *os << "}\nTAO_NAMESPACE_CLOSE\n\n"; } } return 0; |