diff options
Diffstat (limited to 'cpp/fixCopyright.py')
-rwxr-xr-x | cpp/fixCopyright.py | 4 |
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 |