Allow empty one-past-the-end sections (#2221)

This commit is contained in:
Rangi authored and GitHub committed 2026-10-21 15:58:30 -04:00
1 parent 72c9171216
commit 85f96d671f
12 files changed
+26 -16

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
error: Section "z"'s fixed address $4321 is outside of range [$0000; $3fff]
error: Section "z"'s fixed address $4321 is outside of range [$0000; $4000]
Linking failed with 1 error
+2
View File
@@ -0,0 +1,2 @@
section "test1", rom0[$4000]
section "test2", rom0
@@ -0,0 +1,3 @@
rom0
org $4000
"test2"
Whitespace-only changes.
@@ -0,0 +1,2 @@
error: Section "test"'s end address $4001 is greater than last address $4000
Linking failed with 1 error
Whitespace-only changes.
+2
View File
@@ -0,0 +1,2 @@
section "test", rom0[$3ffe]
db 1, 2, 3