summaryrefslogtreecommitdiff
path: root/cpp/fixCopyright.py
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2005-02-16 22:05:37 +0000
committerBernard Normier <bernard@zeroc.com>2005-02-16 22:05:37 +0000
commit90c63a2f16880fe002dd7f6641621b99941fc5f6 (patch)
treeb658ea3e3bc77ade4030728bfe7e20dade3f7555 /cpp/fixCopyright.py
parent2004 to 2005 (diff)
downloadice-90c63a2f16880fe002dd7f6641621b99941fc5f6.tar.bz2
ice-90c63a2f16880fe002dd7f6641621b99941fc5f6.tar.xz
ice-90c63a2f16880fe002dd7f6641621b99941fc5f6.zip
Added csharp
Diffstat (limited to 'cpp/fixCopyright.py')
-rwxr-xr-xcpp/fixCopyright.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/fixCopyright.py b/cpp/fixCopyright.py
index bd08bf4e734..5a8fa00fed7 100755
--- a/cpp/fixCopyright.py
+++ b/cpp/fixCopyright.py
@@ -161,7 +161,7 @@ def replaceAllCopyrights(path):
if x == "config" or x == ".depend" or x == ".dummy" or fnmatch.fnmatch(x, "*.dsp") or fnmatch.fnmatch(x, "*.sln") or fnmatch.fnmatch(x, "*.vdproj") or fnmatch.fnmatch(x, "*.err") or fnmatch.fnmatch(x, "*.class") or fnmatch.fnmatch(x, "*.ico") or fnmatch.fnmatch(x, "*.gif") or fnmatch.fnmatch(x, "*.jpg") or fnmatch.fnmatch(x, "*.orig"):
print "Skipping file " + fullpath + ": no copyright needed"
skip = 1
- elif fnmatch.fnmatch(x, "*.h") or fnmatch.fnmatch(x, "*.cpp") or fnmatch.fnmatch(x, "*.ice") or fnmatch.fnmatch(x, "*.java") or fnmatch.fnmatch(x, "*.l") or fnmatch.fnmatch(x, "*.y"):
+ elif fnmatch.fnmatch(x, "*.h") or fnmatch.fnmatch(x, "*.cpp") or fnmatch.fnmatch(x, "*.cs") or fnmatch.fnmatch(x, "*.ice") or fnmatch.fnmatch(x, "*.java") or fnmatch.fnmatch(x, "*.l") or fnmatch.fnmatch(x, "*.y"):
commentMark = "//"
copyrightLines = cppCopyright
elif fnmatch.fnmatch(x, "*.py"):