diff options
Diffstat (limited to 'apps/tile/rpn.mu')
-rw-r--r-- | apps/tile/rpn.mu | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/tile/rpn.mu b/apps/tile/rpn.mu index dde99826..7c894f55 100644 --- a/apps/tile/rpn.mu +++ b/apps/tile/rpn.mu @@ -50,6 +50,9 @@ fn evaluate functions: (addr handle function), bindings: (addr table), scratch: } # if curr-stream defines a binding, save top of stack to bindings { + var done?/eax: boolean <- stream-empty? curr-stream + compare done?, 0 # false + break-if-!= var new-byte/eax: byte <- read-byte curr-stream compare new-byte, 0x3d # '=' break-if-!= |