remove obsolete function

This commit is contained in:
Axel Kohlmeyer 2020-08-03 07:29:53 -04:00
parent 90028a3c71
commit bb183345bb
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 0 additions and 19 deletions

View File

@ -93,25 +93,6 @@ def add_suffix(list,style):
else:
return style
def check_style(file,dir,pattern,list,name,suffix=False,skip=()):
f = os.path.join(dir, file)
fp = open(f)
text = fp.read()
fp.close()
matches = re.findall(pattern,text,re.MULTILINE)
counter = 0
for c in list.keys():
# known undocumented aliases we need to skip
if c in skip: continue
s = c
if suffix: s = add_suffix(list,c)
if not s in matches:
if not list[c]['removed']:
print("%s style entry %s" % (name,s),
"is missing or incomplete in %s" % file)
counter += 1
return counter
print("Parsing style names from C++ tree in: ",src)
for h in headers: