summaryrefslogtreecommitdiff
path: root/cpp/src/slice2py/Main.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2009-10-03 01:07:56 +0200
committerJose <jose@zeroc.com>2009-10-03 01:07:56 +0200
commita00430c3a79067e9bdd5a62620fcfbc9da536601 (patch)
treedbda5220894c256cf73725c6f17d618b8289152d /cpp/src/slice2py/Main.cpp
parentFixes related to 3772: (diff)
downloadice-a00430c3a79067e9bdd5a62620fcfbc9da536601.tar.bz2
ice-a00430c3a79067e9bdd5a62620fcfbc9da536601.tar.xz
ice-a00430c3a79067e9bdd5a62620fcfbc9da536601.zip
4190 - Add header to generated files to indicate they are autogenerated.
commit 910bdd9d5cd71ac2cd357dbe5ee82b7ae81fca89 Merge: 429a086 1873f9f Author: Jose <jose@zeroc.com> Date: Sat Oct 3 01:00:34 2009 +0200
Diffstat (limited to 'cpp/src/slice2py/Main.cpp')
-rw-r--r--cpp/src/slice2py/Main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/slice2py/Main.cpp b/cpp/src/slice2py/Main.cpp
index 9a7fac7a99f..3af0f9b217b 100644
--- a/cpp/src/slice2py/Main.cpp
+++ b/cpp/src/slice2py/Main.cpp
@@ -571,8 +571,7 @@ compile(int argc, char* argv[])
FileTracker::instance()->addFile(file);
printHeader(out);
- out << "\n# Generated from file `" << base << ".ice'\n";
-
+ printGeneratedHeader(out, base + ".ice", "#");
//
// Generate the Python mapping.
//