mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-01 15:27:48 +00:00
Make ENDL optional like ENDSECTION (#1538)
Add warning for `LOAD` without `ENDL`
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
FATAL: section-in-load.asm(3):
|
||||
Cannot change the section within a `LOAD` block
|
||||
warning: section-in-load.asm(3): [-Wunterminated-load]
|
||||
`LOAD` block without `ENDL` terminated by `SECTION`
|
||||
error: section-in-load.asm(4):
|
||||
Found `ENDL` outside of a `LOAD` block
|
||||
error: Assembly aborted (1 error)!
|
||||
|
||||
Reference in New Issue
Block a user