summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stdlib/compiler.tl3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/compiler.tl b/stdlib/compiler.tl
index ce28e012..08e1e16e 100644
--- a/stdlib/compiler.tl
+++ b/stdlib/compiler.tl
@@ -474,7 +474,8 @@
(error "access spy stack balance problem in compiler"))))
(defmeth compiler compile (me oreg env form)
- (set me.last-form form)
+ (unless (atom form)
+ (set me.last-form form))
(cond
((symbolp form)
(if (bindable form)