Mercurial > hg > index.cgi
diff src/parse.s @ 131:95f174bf459b
Add error handling for immediate mode loop
author | William Astle <lost@l-w.ca> |
---|---|
date | Sat, 18 May 2024 00:41:46 -0600 |
parents | 9f23ddc5165f |
children | 917b4893bb3d |
line wrap: on
line diff
--- a/src/parse.s Wed May 15 20:16:56 2024 -0600 +++ b/src/parse.s Sat May 18 00:41:46 2024 -0600 @@ -42,6 +42,7 @@ leax 3,x ; move to next entry cmpx #parsetab_cmde ; end of table? blo parse1 ; brif not + bra parse_errorsn ; fell off the end parse3 jsr [1,x] ; call the handler bcs parse_error ; brif the handler indicated error bsr parse_curtoken ; fetch the token we left off on