summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pokemontools/preprocessor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/preprocessor.py b/pokemontools/preprocessor.py
index 87faefd..d9373ac 100644
--- a/pokemontools/preprocessor.py
+++ b/pokemontools/preprocessor.py
@@ -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