summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2005-02-16 22:12:59 +0000
committerBernard Normier <bernard@zeroc.com>2005-02-16 22:12:59 +0000
commitce5eb774f823426b371daf6802425411f058366c (patch)
tree54ace086fbfa035edce37b33fb33030a5a51ffeb
parentAdded csharp (diff)
downloadice-ce5eb774f823426b371daf6802425411f058366c.tar.bz2
ice-ce5eb774f823426b371daf6802425411f058366c.tar.xz
ice-ce5eb774f823426b371daf6802425411f058366c.zip
Added visual basic
-rwxr-xr-xcpp/fixCopyright.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/fixCopyright.py b/cpp/fixCopyright.py
index 5a8fa00fed7..1a8ce7f75bb 100755
--- a/cpp/fixCopyright.py
+++ b/cpp/fixCopyright.py
@@ -135,6 +135,7 @@ def replaceAllCopyrights(path):
cppCopyright = copyright("//")
mcCopyright = copyright("; //")
makefileCopyright = copyright("#")
+ vbCopyright = copyright("'")
pythonCopyright = []
pythonCopyright.append("#!/usr/bin/env python\n");
pythonCopyright.extend(makefileCopyright)
@@ -173,6 +174,9 @@ def replaceAllCopyrights(path):
elif fnmatch.fnmatch(x, "*.mc"):
commentMark = "; //"
copyrightLines = mcCopyright
+ elif fnmatch.fnmatch(x, "*.vb"):
+ commentMark = "'"
+ copyrightLines = vbCopyright
elif fnmatch.fnmatch(x, "Make*") or fnmatch.fnmatch(x, "*.properties"):
commentMark = "#"
copyrightLines = makefileCopyright