mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Support more syntax in linkerscripts (#1752)
* No need to use `locale`s * Implement octal numbers, `_` digit separators, and `0x/0b/0o` prefixes in linkerscripts * Refactor some functions out of `yylex` * Support `\0` in linkerscripts
This commit is contained in:
8
test/link/script-okay.link
Normal file
8
test/link/script-okay.link
Normal file
@@ -0,0 +1,8 @@
|
||||
ROM0
|
||||
"ROM0"
|
||||
"\\\"\'\n\r\t\0"
|
||||
ROMX 1
|
||||
"ROM1"
|
||||
ROMX 2
|
||||
"ROM2 1K"
|
||||
"ROM2 1"
|
||||
Reference in New Issue
Block a user