Mercurial > hg > index.cgi
diff src/expr.s @ 128:9d57279c900e
Remove old style keyword lists and jump tables
As part of the move to the new pre-parsing scheme, remove the old keyword
lists and jump tables. The main loop still needs modification to work with
this new system.
author | William Astle <lost@l-w.ca> |
---|---|
date | Tue, 09 Jan 2024 22:54:42 -0700 |
parents | cddbe8bc07e5 |
children |
line wrap: on
line diff
--- a/src/expr.s Tue Jan 09 22:47:11 2024 -0700 +++ b/src/expr.s Tue Jan 09 22:54:42 2024 -0700 @@ -17,9 +17,9 @@ puls b ; get back operator precedence flag eval_expr0 jsr curchar ; fetch current input beq eval_expr1 ; brif end of expression - we're done - cmpa #tok_or ; is it above operators? + cmpa #token_or ; is it above operators? bhi eval_expr1 ; brif so - suba #tok_plus ; offset to zero for first operator token + suba #token_plus ; offset to zero for first operator token bcc eval_expr2 ; brif it is an operator eval_expr1 rts eval_expr2 pshs b ; save previous operator precedence