1.0.20.26: nicer ONCE-ONLY expansion
authorNikodemus Siivola <nikodemus@random-state.net>
Tue, 23 Sep 2008 21:48:25 +0000 (21:48 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Tue, 23 Sep 2008 21:48:25 +0000 (21:48 +0000)
 * Name the variables actually visible in the final expansion sensibly.

src/code/early-extensions.lisp
version.lisp-expr

index c6a544f..341c69b 100644 (file)
           (unless (proper-list-of-length-p spec 2)
             (error "malformed ONCE-ONLY binding spec: ~S" spec))
           (let* ((name (first spec))
-                 (exp-temp (gensym (symbol-name name))))
+                 (exp-temp (gensym "ONCE-ONLY")))
             `(let ((,exp-temp ,(second spec))
-                   (,name (gensym "ONCE-ONLY-")))
+                   (,name (gensym ,(symbol-name name))))
                `(let ((,,name ,,exp-temp))
                   ,,(frob (rest specs) body))))))))
 \f
index 6c94b7e..ff5b1fd 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.20.25"
+"1.0.20.26"