mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-08-09 18:57:29 -05:00
Merge branch 'pokered-preprocessor' into dump-pokered-extras
This commit is contained in:
commit
fc6785b87b
|
|
@ -599,7 +599,7 @@ def read_line(l, macro_table):
|
|||
asm, comment = separate_comment(l)
|
||||
|
||||
# export all labels
|
||||
if ':' in asm[:asm.find('"')]:
|
||||
if ':' in asm[:asm.find('"')] and "macro" not in asm.lower():
|
||||
sys.stdout.write('GLOBAL ' + asm.split(':')[0] + '\n')
|
||||
|
||||
# expect preprocessed .asm files
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user