From: Christophe Rhodes Date: Fri, 31 Dec 2004 12:30:11 +0000 (+0000) Subject: 0.8.18.5: X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=98e0c93fab44e64ae88d9357862e839265d2b208;p=sbcl.git 0.8.18.5: Make comments in ctor.lisp reflect the two recent fixes. --- diff --git a/src/pcl/ctor.lisp b/src/pcl/ctor.lisp index e783253..89957c7 100644 --- a/src/pcl/ctor.lisp +++ b/src/pcl/ctor.lisp @@ -462,13 +462,14 @@ finally (return (values around before (first primary) (reverse after))))) -;;; Return a form initializing instance and class slots of an object -;;; costructed by CTOR. The variable .SLOTS. is assumed to bound to -;;; the instance's slot vector. BEFORE-METHOD-P T means -;;; before-methods will be called, which means that 1) other code will -;;; initialize instance slots to +SLOT-UNBOUND+ before the -;;; before-methods are run, and that we have to check if these -;;; before-methods have set slots. +;;; Return as multiple values bindings for default initialization +;;; arguments, variable names, defaulting initargs and a body for +;;; initializing instance and class slots of an object costructed by +;;; CTOR. The variable .SLOTS. is assumed to bound to the instance's +;;; slot vector. BEFORE-METHOD-P T means before-methods will be +;;; called, which means that 1) other code will initialize instance +;;; slots to +SLOT-UNBOUND+ before the before-methods are run, and +;;; that we have to check if these before-methods have set slots. (defun slot-init-forms (ctor before-method-p) (let* ((class (ctor-class ctor)) (initargs (ctor-initargs ctor)) @@ -598,14 +599,9 @@ collect var into vars collect `(,var (funcall ,initfn)) into bindings finally (return (values vars bindings))) - ;; FIXME: adjust comment above! (values bindings vars (nreverse defaulting-initargs) `(,@(delete nil instance-init-forms) ,@class-init-forms))))))) -#| `(let ,bindings - (declare (ignorable ,@vars)) - ,@(delete nil instance-init-forms) - ,@class-init-forms))))))|# ;;; Return an alist of lists (KEY LOCATION ...) telling, for each ;;; key in INITKEYS, which locations the initarg initializes. diff --git a/version.lisp-expr b/version.lisp-expr index 60b0206..b85465a 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -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".) -"0.8.18.4" +"0.8.18.5"