aboutsummaryrefslogtreecommitdiffstats
path: root/top-refs.scm
diff options
context:
space:
mode:
Diffstat (limited to 'top-refs.scm')
-rw-r--r--top-refs.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/top-refs.scm b/top-refs.scm
index 3647dc4..0c88ba5 100644
--- a/top-refs.scm
+++ b/top-refs.scm
@@ -163,11 +163,15 @@
((case)
(top-refs:expression (cadr exp))
(for-each (lambda (exp)
- (for-each top-refs:expression (cdr exp)))
+ (if (list? exp)
+ (for-each top-refs:expression (cdr exp))
+ (top-refs:expression exp)))
(cddr exp)))
((cond)
(for-each (lambda (exp)
- (for-each top-refs:expression exp))
+ (if (list? exp)
+ (for-each top-refs:expression exp)
+ (top-refs:expression exp)))
(cdr exp)))
((let)
(cond ((symbol? (cadr exp))