summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sb-eval2.lisp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sb-eval2.lisp b/sb-eval2.lisp
index 5da957c..490c26d 100644
--- a/sb-eval2.lisp
+++ b/sb-eval2.lisp
@@ -524,7 +524,9 @@
default-values)))
(body-context (context-add-specials new-context specials))
(body* (prepare-form
- `(block ,(sb-int:fun-name-block-name name) ,@body)
+ (if namep
+ `(block ,(sb-int:fun-name-block-name name) ,@body)
+ `(progn ,@body))
body-context))
(unbound (gensym)))
(setq varspecs (nreverse varspecs))