From 90c63a2f16880fe002dd7f6641621b99941fc5f6 Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Wed, 16 Feb 2005 22:05:37 +0000 Subject: Added csharp --- cpp/fixCopyright.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/fixCopyright.py') 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"): -- cgit v1.2.3