mirror of
https://github.com/platformio/platformio-core.git
synced 2026-06-11 11:41:11 +02:00
Optmize INO to CPP converter // Issue #639
This commit is contained in:
@@ -59,7 +59,8 @@ class InoToCPPConverter(object):
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
prototype_names = set(
|
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()
|
split_pos = prototypes[0]['match'].start()
|
||||||
for item in prototypes:
|
for item in prototypes:
|
||||||
if item['path'] == file_path:
|
if item['path'] == file_path:
|
||||||
|
|||||||
Reference in New Issue
Block a user