mirror of
https://github.com/gbdev/rgbds.git
synced 2026-01-09 18:11:51 +00:00
SECTION(symbol) returns the name of a symbol's section (#1066)
Fixes #963 Co-authored-by: Eldred Habert <eldredhabert0@gmail.com>
This commit is contained in:
7
test/asm/section-name-invalid.asm
Normal file
7
test/asm/section-name-invalid.asm
Normal file
@@ -0,0 +1,7 @@
|
||||
SECTION "test", ROM0
|
||||
|
||||
Label:
|
||||
println SECTION(Label) ; OK
|
||||
|
||||
DEF Value EQU 42
|
||||
println SECTION(Value) ; not OK
|
||||
Reference in New Issue
Block a user