Optmize INO to CPP converter // Issue #639

This commit is contained in:
Ivan Kravets
2016-04-30 17:33:45 +03:00
parent 238fa36212
commit 03c0033bed

View File

@ -59,7 +59,8 @@ class InoToCPPConverter(object):
return result
prototype_names = set(
[p['match'].group(3).strip() for p in prototypes])
[p['match'].group(3).strip() for p in prototypes
if p['path'] == file_path])
split_pos = prototypes[0]['match'].start()
for item in prototypes:
if item['path'] == file_path: