summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-07-28 06:47:11 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-07-28 06:47:11 -0700
commit0928a2c836681e9f0a91feda3fdae127bfca6b76 (patch)
treed132f3027ec1350c3c79144b0240fb8b7af40499 /share
parent0bd9494ea0801a5f07ac785c0df724c893373c13 (diff)
downloadtxr-0928a2c836681e9f0a91feda3fdae127bfca6b76.tar.gz
txr-0928a2c836681e9f0a91feda3fdae127bfca6b76.tar.bz2
txr-0928a2c836681e9f0a91feda3fdae127bfca6b76.zip
* share/txr/stdlib/txr-case.tl (txr-case-impl): Bugfix,
handle nil case in recursion.
Diffstat (limited to 'share')
-rw-r--r--share/txr/stdlib/txr-case.tl1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/txr/stdlib/txr-case.tl b/share/txr/stdlib/txr-case.tl
index 2e0c5979..e6d10eca 100644
--- a/share/txr/stdlib/txr-case.tl
+++ b/share/txr/stdlib/txr-case.tl
@@ -32,6 +32,7 @@
(error "txr-case: clauses after (t ...) clause ignored")
^(progn ,*rest))
(error "txr-case: bad syntax: ~s" (car clauses))))
+ (() ())
(atom
(error "txr-case: unexpected atom in syntax: ~s" atom))))