mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 19:42:08 +00:00
Allow NUL characters in strings (#1405)
This commit is contained in:
7
test/asm/null-outside-string.asm
Normal file
7
test/asm/null-outside-string.asm
Normal file
@@ -0,0 +1,7 @@
|
||||
SECTION "test", ROM0
|
||||
; '\0' is not special here; it's lexed as a line continuation...
|
||||
DEF foo\0bar EQU 42
|
||||
db foo\0bar
|
||||
; ...just like any other non-whitespace character
|
||||
DEF spam\Xeggs EQU 69
|
||||
db spam\Xeggs
|
||||
Reference in New Issue
Block a user