diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-08-28 17:53:26 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-08-28 17:53:26 -0500 |
commit | e4d3ea72569b3c326c264be9dda31e237475bd55 (patch) | |
tree | b494cdd8d1f19010ff7f8a433b1fef481c731967 /prequeue.py | |
parent | 16bfc0112428cd9f872e06b2ce6a2fe553b8eb11 (diff) |
don't use globals in the preprocessor
Macros are now passed around as lists and dicts.
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 c90d133ea..c9a9a8bcc 100644 --- a/prequeue.py +++ b/prequeue.py @@ -13,4 +13,4 @@ if __name__ == '__main__': dest = os.path.splitext(source)[0] + '.tx' sys.stdin = open(source, 'r') sys.stdout = open(dest, 'w') - preprocessor.preprocess() + preprocessor.preprocess(preprocessor.macros) |