mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 19:22:05 +00:00
Handle missing newline at EOF for linkerscript INCLUDEd files (#1691)
This commit is contained in:
2
test/link/script-include/a.asm
Normal file
2
test/link/script-include/a.asm
Normal file
@@ -0,0 +1,2 @@
|
||||
section "a", rom0
|
||||
db $11
|
||||
3
test/link/script-include/a.inc
Normal file
3
test/link/script-include/a.inc
Normal file
@@ -0,0 +1,3 @@
|
||||
rom0
|
||||
org 0
|
||||
"a" ; no newline
|
||||
2
test/link/script-include/b.asm
Normal file
2
test/link/script-include/b.asm
Normal file
@@ -0,0 +1,2 @@
|
||||
section "b", rom0
|
||||
db $22
|
||||
3
test/link/script-include/b.inc
Normal file
3
test/link/script-include/b.inc
Normal file
@@ -0,0 +1,3 @@
|
||||
rom0
|
||||
org 1
|
||||
"b" ; yes newline
|
||||
0
test/link/script-include/out.err
Normal file
0
test/link/script-include/out.err
Normal file
1
test/link/script-include/ref.out.bin
Normal file
1
test/link/script-include/ref.out.bin
Normal file
@@ -0,0 +1 @@
|
||||
"
|
||||
2
test/link/script-include/script.link
Normal file
2
test/link/script-include/script.link
Normal file
@@ -0,0 +1,2 @@
|
||||
include "script-include/a.inc"
|
||||
include "script-include/b.inc"
|
||||
Reference in New Issue
Block a user