mirror of
https://github.com/pret/pmd-sky.git
synced 2026-03-21 17:25:15 -05:00
Fixed extract_function extracting offset constants
This commit is contained in:
parent
ed159ffd16
commit
710459dbb1
|
|
@ -46,7 +46,8 @@ def write_inc_file(lines: List[str], file_path: str):
|
|||
|
||||
write_lines = ['#pragma once\n']
|
||||
for function in sorted(used_functions):
|
||||
write_lines.append(f'.public {function}\n')
|
||||
if ' ' not in function:
|
||||
write_lines.append(f'.public {function}\n')
|
||||
|
||||
with open(file_path, 'w') as inc_file:
|
||||
inc_file.writelines(write_lines)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user