summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp14
1 files changed, 6 insertions, 8 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 9f27e58ac96..681fb1f8cdb 100644
--- a/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp
@@ -31,8 +31,7 @@ be_visitor_module_ch::visit_module (be_module *node)
TAO_OutStream *os = this->ctx_->stream ();
TAO_OutStream *aos = nullptr;
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
*os << "namespace " << node->local_name () << be_nl
<< "{" << be_idt;
@@ -41,8 +40,7 @@ be_visitor_module_ch::visit_module (be_module *node)
{
aos = tao_cg->anyop_header ();
- *aos << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (aos);
*aos << "namespace " << node->local_name () << be_nl
<< "{" << be_idt;
@@ -60,16 +58,16 @@ be_visitor_module_ch::visit_module (be_module *node)
-1);
}
- *os << be_uidt_nl << be_nl << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl;
+ *os << be_uidt_nl << be_nl;
+ TAO_INSERT_COMMENT (os);
*os << be_nl
<< "} // module " << node->name ();
if (be_global->gen_anyop_files ())
{
- *aos << be_uidt_nl << be_nl << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl;
+ *aos << be_uidt_nl << be_nl;
+ TAO_INSERT_COMMENT (aos);
*aos << be_nl
<< "} // module " << node->name () << be_nl;