mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-26 04:52:08 +00:00
Support Mac OS classic CR line endings in linkerscripts
This also refactors `readChar(file)` to `nextChar()` to be more like the rgbasm lexer.
This commit is contained in:
@@ -1,3 +1 @@
|
||||
ROM0
|
||||
"A\"B\tC\rD\nE"
|
||||
"in\{valid"
|
||||
; This uses CR line endings
|
||||
@@ -1 +1 @@
|
||||
error: ./linkerscript-escapes-test.link(3): Illegal character escape
|
||||
error: ./linkerscript-escapes-test.link(4): Illegal character escape
|
||||
|
||||
Reference in New Issue
Block a user