mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 22:37:50 +00:00
Don't count single quote ' as garbage (#1801)
Also copy the "blank space" (space or tab) vs "whitespace" (space, tab, or newline) convention from `<ctype.h>`
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
assert 1 +# 1 == 2
|
||||
assert 2 ?<EFBFBD>* 2 == 4
|
||||
assert 3 **?<EFBFBD>?##?? 3 == 27
|
||||
charmap "x", 4
|
||||
assert 4 <<#<EFBFBD>'x' == 64
|
||||
|
||||
@@ -8,4 +8,6 @@ error: Invalid character '#'
|
||||
at garbage_sequence.asm(3)
|
||||
error: Invalid characters '#', '?', '?'
|
||||
at garbage_sequence.asm(3)
|
||||
Assembly aborted with 5 errors!
|
||||
error: Invalid characters '#', 0xFF (is the file UTF-8?)
|
||||
at garbage_sequence.asm(5)
|
||||
Assembly aborted with 6 errors!
|
||||
|
||||
Reference in New Issue
Block a user