Fix symbolify.py

This commit is contained in:
Andrew Noyes 2020-02-12 21:56:01 -08:00
parent f1357fd482
commit aeba8f5caf

View File

@ -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')