Skip to content

Commit

Permalink
Add signpost type to csv2asm
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoomTen committed Aug 14, 2021
1 parent 5ef495c commit fc5d418
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/csv2asm.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ def wrap(text):
for row in reader:
if row['label'] == '':
print(f'text_{row["bank"].zfill(2)}_{row["address"].zfill(4)}::')

if 'text_kind' in row:
if row['text_kind'] == 'signpost':
print('\ttext_sign')
else:
print(f'{row["label"]}::')

Expand Down

0 comments on commit fc5d418

Please sign in to comment.