consume white space when checking for end of statement
This commit is contained in:
1 parent
6df769320a
commit
0d891bb06a
1 file changed
+7
@@ -7,6 +7,13 @@ basic_end_of_statement_check:
|
|||||||
ldy #0
|
ldy #0
|
||||||
jsr peek_under_roms
|
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
|
cmp #$00
|
||||||
beq +
|
beq +
|
||||||
cmp #$3a
|
cmp #$3a
|
||||||
|
|||||||
Reference in new issue
Block a user