summaryrefslogtreecommitdiff
path: root/cpp/fixCopyright.py
diff options
context:
space:
mode:
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"):