about summary refs log tree commit diff stats
path: root/shell/evaluate.mu
diff options
context:
space:
mode:
Diffstat (limited to 'shell/evaluate.mu')
-rw-r--r--shell/evaluate.mu4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/evaluate.mu b/shell/evaluate.mu
index eb0b1e42..5e0122b0 100644
--- a/shell/evaluate.mu
+++ b/shell/evaluate.mu
@@ -474,11 +474,13 @@ fn evaluate _in-ah: (addr handle cell), _out-ah: (addr handle cell), env-h: (han
     debug-print "B", 4/fg, 0xc5/bg=blue-bg
     # a trip wire in case we're running without a trace (e.g. when loading the initial state from disk)
     {
+      compare trace, 0
+      break-if-!=
       var left-out/eax: (addr cell) <- lookup *left-out-ah
       compare left-out, 0
       {
         break-if-!=
-        abort "unknown variable"
+        abort "error in eval-list"
       }
     }
     #