summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_helper.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_helper.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_helper.cpp b/TAO/TAO_IDL/be/be_helper.cpp
index 274da06bb2e..1bf90f25d7e 100644
--- a/TAO/TAO_IDL/be/be_helper.cpp
+++ b/TAO/TAO_IDL/be/be_helper.cpp
@@ -644,3 +644,9 @@ TAO_OutStream::print (AST_Expression *expr)
return *this;
}
+void TAO_OutStream::insert_comment (const char *file, int line)
+{
+ *this << be_nl << "// TAO_IDL - Generated from" << be_nl
+ << "// " << file << ':' << static_cast<ACE_CDR::ULong> (line)
+ << be_nl_2;
+}