2 __date__ =
"$2010-08-09 14.23.54$"
5 import buildFileCommentSkipper
6 import cppCommentSkipper
8 cppCommentFiles = [
'.h',
'.c',
'.cc',
'.cxx']
9 buildfilesCommentFiles = [
'buildfile',
'buildfile.xml']
13 if not fileList:
return fileList
14 head, tail = os.path.split(fileList[0])
15 root, ext = os.path.splitext(tail)
17 if (tail.lower()
in buildfilesCommentFiles):
18 fileList = buildFileCommentSkipper.filterFiles(fileList)
19 elif (ext.lower()
in cppCommentFiles):
20 fileList = cppCommentSkipper.filterFiles(fileList)