metaincludecheck: extend extensions check

This commit is contained in:
Ivailo Monev 2015-09-27 01:00:17 +00:00
parent 21ee6f072d
commit 7d351dee53

View file

@ -29,7 +29,7 @@ metaheaders = (
for root, dirs, files in os.walk(os.getcwd()): for root, dirs, files in os.walk(os.getcwd()):
for sfile in files: for sfile in files:
if not sfile.endswith(('.hpp', '.h', '.cpp', '.c')): if not sfile.endswith(('.hpp', '.h', '.hh', '.cpp', '.c', 'cc')):
continue continue
sfull = '%s/%s' % (root, sfile) sfull = '%s/%s' % (root, sfile)
with open(sfull, 'rb') as f: with open(sfull, 'rb') as f: