fixed support for strings without closing quotes

This commit is contained in:
FeralChild64 committed 2020-06-08 19:14:48 +02:00
1 parent eadced28b9
commit e56fbb18ea
1 file changed
+8
+8
View File
@@ -168,11 +168,19 @@ FRMEVL_fetch_string:
jsr fetch_character
cmp #$22
beq FRMEVL_got_value
cmp #$00
beq !+
inc __FAC1 + 0
bne !-
jmp do_STRING_TOO_LONG_error
!:
// No closing quote, but end of the data
jsr unconsume_character
// FALLTROUGH
//