forked from platformio/platformio-core
Scan all prototypes with pointers
This commit is contained in:
@ -59,8 +59,7 @@ 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