diff options
| author | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 00:11:20 -0700 | 
|---|---|---|
| committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 00:11:20 -0700 | 
| commit | e2fb614cae9b0080382d76c620955b446d59a0a5 (patch) | |
| tree | 5a37738b99846f0030763152276af11a07161a1b | |
| parent | eb7902c6f8ab63ad1eba353ea4b26a64db2fc3fb (diff) | |
| parent | c39e156f8c56db9e25ed8661fcf55f1bfc3bd162 (diff) | |
Merge pull request #2 from kanzure/pokered-preprocessor
Don't make global labels for rgbasm macros.
| -rw-r--r-- | pokemontools/preprocessor.py | 2 | 
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 | 
