tokenizer speedup in some cases
This commit is contained in:
1 parent
0e8cb413ed
commit
07674b4e23
1 file changed
+7
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user