• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#windowsobjective-ccocoaqtpython誰得phprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Emily's Z80 assembler for the Gameboy.


Commit MetaInfo

Revision0017be461c61171b000a607ca3007cd7f192d35f (tree)
Zeit2021-03-02 17:10:35
AutorAlaskanEmily <emily@alas...>
CommiterAlaskanEmily

Log Message

Continue assembling when an error occurs in a file

Ändern Zusammenfassung

Diff

--- a/em_gb_asm.py
+++ b/em_gb_asm.py
@@ -823,8 +823,12 @@ def assembleFile(block, path):
823823 for p in sys.argv[1:]:
824824 included_names = set()
825825 b = Block(p)
826- assembleFile(b, p)
827- blocks.append(b)
826+ try:
827+ assembleFile(b, p)
828+ blocks.append(b)
829+ except:
830+ print("Error in " + p)
831+ raise
828832
829833 if len(blocks) == 0:
830834 sys.exit(0)