diff src/vars.s @ 130:9f23ddc5165f

Various updates to parsing scheme to handle errors and make it build
author William Astle <lost@l-w.ca>
date Wed, 15 May 2024 20:16:56 -0600
parents 5d5472b11ccd
children 917b4893bb3d
line wrap: on
line diff
--- a/src/vars.s	Sat May 04 15:18:51 2024 -0600
+++ b/src/vars.s	Wed May 15 20:16:56 2024 -0600
@@ -42,6 +42,7 @@
 parse_noout     rmb 1                           ; flag for whether we're outputting encoded lines when parsing
 parse_tokenst   rmb 2                           ; pointer into input buffer of start of currently parsed token
 parse_curtok    rmb 1                           ; current token type code
+parse_stackptr  rmb 2                           ; saved stack pointer for bailing out from random parse points
 ; General value accumulators used during expression evaluation. These are in the same format used for storing
 ; values in variables with the exception of having a type flag.
 val0            rmb val.size                    ; value accumulator 0 - current expression value