consume white space when checking for end of statement

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-29 22:41:51 +09:30
1 parent 6df769320a
commit 0d891bb06a
1 file changed
+7
+7
View File
@@ -7,6 +7,13 @@ basic_end_of_statement_check:
ldy #0
jsr peek_under_roms
;; Consume any spaces
cmp #$20
bne no_space_to_skip
jsr basic_consume_character
jmp basic_end_of_statement_check
no_space_to_skip:
cmp #$00
beq +
cmp #$3a