summaryrefslogtreecommitdiff
path: root/preprocessor.py
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-01-27 16:22:41 -0500
committeryenatch <yenatch@gmail.com>2014-01-27 16:24:13 -0500
commit1b9ee46af9f8baac0d266a54130115a719788377 (patch)
tree8ac61c0752dc74da0677cb26fe4db6362db5b2b7 /preprocessor.py
parent6bde08504fdc336b1d458bab0bed4ef649cae25a (diff)
Get rid of globals.asm. Use ::s to export labels between objects.
globals.asm was a hack that: - gave rgbasm an extra 100k lines to read - increased reliance on the python preprocessor - made the makefile a mess - gave object creation an extra step - wasn't even necessary This speeds up build time by at least a third.
Diffstat (limited to 'preprocessor.py')
-rw-r--r--preprocessor.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/preprocessor.py b/preprocessor.py
index cb9353af..ee227612 100644
--- a/preprocessor.py
+++ b/preprocessor.py
@@ -280,7 +280,6 @@ def setup_processor():
def main():
processor = setup_processor()
output = processor.preprocess()
- processor.update_globals()
return output
if __name__ == '__main__':