mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-05 17:27:48 +00:00
Fix garbage characters at EOF causing an infinite loop
This commit is contained in:
1
test/asm/garbage-before-eof.asm
Normal file
1
test/asm/garbage-before-eof.asm
Normal file
@@ -0,0 +1 @@
|
||||
MACRO<EFBFBD>
|
||||
5
test/asm/garbage-before-eof.err
Normal file
5
test/asm/garbage-before-eof.err
Normal file
@@ -0,0 +1,5 @@
|
||||
error: Invalid character 0xEB (is the file UTF-8?)
|
||||
at garbage-before-eof.asm(1)
|
||||
error: syntax error, unexpected end of buffer, expecting ? or symbol
|
||||
at garbage-before-eof.asm(1)
|
||||
Assembly aborted with 2 errors!
|
||||
Reference in New Issue
Block a user