mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 18:02:31 +08:00
Fix symbolify.py
This commit is contained in:
parent
f1357fd482
commit
aeba8f5caf
@ -6,4 +6,5 @@ if __name__ == '__main__':
|
|||||||
with open(fdb_c_h, 'r') as f:
|
with open(fdb_c_h, 'r') as f:
|
||||||
symbols = sorted(set('_' + m.group(1) for m in r.finditer(f.read())))
|
symbols = sorted(set('_' + m.group(1) for m in r.finditer(f.read())))
|
||||||
with open(symbols_file, 'w') as f:
|
with open(symbols_file, 'w') as f:
|
||||||
print('\n'.join(symbols), file=f)
|
f.write('\n'.join(symbols))
|
||||||
|
f.write('\n')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user