fixed support for strings without closing quotes
This commit is contained in:
1 parent
eadced28b9
commit
e56fbb18ea
1 file changed
+8
@@ -168,11 +168,19 @@ FRMEVL_fetch_string:
|
|||||||
jsr fetch_character
|
jsr fetch_character
|
||||||
cmp #$22
|
cmp #$22
|
||||||
beq FRMEVL_got_value
|
beq FRMEVL_got_value
|
||||||
|
cmp #$00
|
||||||
|
beq !+
|
||||||
|
|
||||||
inc __FAC1 + 0
|
inc __FAC1 + 0
|
||||||
bne !-
|
bne !-
|
||||||
|
|
||||||
jmp do_STRING_TOO_LONG_error
|
jmp do_STRING_TOO_LONG_error
|
||||||
|
!:
|
||||||
|
// No closing quote, but end of the data
|
||||||
|
|
||||||
|
jsr unconsume_character
|
||||||
|
|
||||||
|
// FALLTROUGH
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in new issue
Block a user