summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/txr/stdlib/compiler.tl1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/txr/stdlib/compiler.tl b/share/txr/stdlib/compiler.tl
index fd315944..907055ad 100644
--- a/share/txr/stdlib/compiler.tl
+++ b/share/txr/stdlib/compiler.tl
@@ -313,6 +313,7 @@
(defmeth compiler comp-cond (me oreg env form)
(tree-case form
((op) me.(comp-atom oreg nil))
+ ((op (test) . more) me.(compile oreg env ^(or ,test (cond ,*more))))
((op (test . forms) . more) me.(compile oreg env
^(if ,test
(progn ,*forms)