Avoid performing invalid actions on LOAD errors

These are rejected because they could lead to incorrect behavior,
so then don't do it...
This commit is contained in:
ISSOtm
2021-05-02 23:42:53 +02:00
parent 8397b3d8ec
commit 02cb5a0526
2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,5 @@
ERROR: load-rom.asm(3):
`LOAD` blocks cannot create a ROM section
error: Assembly aborted (1 error)!
ERROR: load-rom.asm(5):
Found `ENDL` outside of a `LOAD` block
error: Assembly aborted (2 errors)!