diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-04-25 18:18:14 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-04-25 18:18:14 -0500 |
commit | 4096495b0f973d355f6f43dae75fa5b1bcb1742c (patch) | |
tree | cf17c49d24db1bb722513d74c8b49ba68a9465c4 | |
parent | 9c696f260e2b688a5085930d38a4e42e4d19bf1a (diff) |
oops, make MapScriptHeader and others show up again
original-commit-id: c8cdbdede160ae1002a2c5a492dcda9f20b0945d
-rw-r--r-- | crystal.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4691,7 +4691,10 @@ class Asm: current_requested_newlines_before = 0 current_requested_newlines_after = 1 elif isinstance(each, AsmSection) or isinstance(each, Incbin) or hasattr(each, "to_asm"): - asm = each.to_asm() + if isinstance(each, AsmSection) or isinstance(each, Incbin): + asm = each.to_asm() + else: + asm = to_asm(each) current_requested_newlines_before = 2 current_requested_newlines_after = 2 else: |