diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-08-31 10:13:17 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-08-31 10:13:17 -0500 |
commit | 5815edf382d586e84db8d08612d5f4d1c2e7ac96 (patch) | |
tree | 54c66f23f49e28b4bdc0ff5b831403e7181762d0 /prequeue.py | |
parent | 63c2dc2f1ffb3ec93f8fb6b97b0b909c36ecc0bf (diff) |
refactor preprocessor macros into a function
Remove the "macros" global and instead use a function to construct a
list of macros.
Diffstat (limited to 'prequeue.py')
-rw-r--r-- | prequeue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prequeue.py b/prequeue.py index ec6cd9e39..2c8f4cf5a 100644 --- a/prequeue.py +++ b/prequeue.py @@ -14,4 +14,4 @@ if __name__ == '__main__': dest = os.path.splitext(source)[0] + '.tx' sys.stdin = open(source, 'r') sys.stdout = open(dest, 'w') - preprocessor.preprocess(preprocessor.macros) + preprocessor.preprocess(preprocessor.load_pokecrystal_macros()) |