honour length of packed keyword table

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-26 23:10:47 +09:30
1 parent 11392d883c
commit df55ff6d25
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -137,7 +137,7 @@ next_kw_offset:
;; Advance offset in compressed token list, and stop at the end
inc tokenise_work3
lda tokenise_work3
cmp #$ff
cmp #packed_keyword_table_len
bne next_in_match
jmp done_searching_for_token
next_in_match: