Correct error message for unconstrained sections with overlay (#1879)

This commit is contained in:
Rangi
2025-12-28 19:21:53 -05:00
committed by GitHub
parent 63a911e657
commit 41fe1d8f25
4 changed files with 80 additions and 66 deletions

View File

@@ -1,4 +1,10 @@
FOR n, 15
SECTION "test {d:n}", ROM0
FOR n, 1, 5
SECTION "ROMX[$40{02x:n}] BANK[5]", ROMX[$4000 + n], BANK[5]
db n
SECTION "ROMX BANK[{d:n}]", ROMX, BANK[n]
db n
SECTION "ROMX[$40{02x:n}]", ROMX[$4000 + n]
db n
SECTION "ROMX #{d:n}", ROMX
db n
ENDR