Mercurial > hg > index.cgi
changeset 33:317b81c81808
Fix keyword lookup in tokenize to actually see end of keyword table
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 21 Nov 2022 22:25:44 -0700 |
parents | 0a476b3e0ec4 |
children | 7111bc587420 |
files | src/lwbasic.s |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lwbasic.s Mon Nov 21 22:22:17 2022 -0700 +++ b/src/lwbasic.s Mon Nov 21 22:25:44 2022 -0700 @@ -1266,7 +1266,7 @@ tokenize14 ldb ,u+ ; end of token? bpl tokenize14 ; brif not inc ,s ; bump token counter - bra tokenize11 ; go check another one + bra tokenize10 ; go check another one tokenize15 orb ,s+ ; merge token number with the high bit (bit 7 set from above) lda ,s+ ; get back secondary flag and set flags on it leas 2,s ; clean up saved input pointer from stack