tokenizer speedup in some cases

This commit is contained in:
FeralChild64 committed 2020-07-30 22:54:00 +02:00
1 parent 0e8cb413ed
commit 07674b4e23
1 file changed
+7 -1
+7 -1
View File
@@ -142,8 +142,14 @@ tk_pack_loop_next:
lda tk__len_unpacked
cmp #TK__MAX_KEYWORD_LEN
bne tk_pack_loop
beq !+ // if max length reached - quit
// Check for characters that can only end the token
lda BUF-1, x
cmp #$41
bcs tk_pack_loop
!:
rts
tk_pack_1n_new_byte: