X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fir1report.lisp;h=14a2121affab8d3ccd06acc8bfd8ff7ae2cc53b5;hb=08d05510b51708853ca998154d8096b21d85edab;hp=93dbf66e6bca2ab0d8ae0a4964a03db44d6c0868;hpb=a160917364f85b38dc0826a5e3dcef87e3c4c62c;p=sbcl.git diff --git a/src/compiler/ir1report.lisp b/src/compiler/ir1report.lisp index 93dbf66..14a2121 100644 --- a/src/compiler/ir1report.lisp +++ b/src/compiler/ir1report.lisp @@ -85,10 +85,10 @@ Named form when it appears in the compiler input. Lambda-List is a DEFMACRO style lambda-list used to parse the arguments. The Body should return a list of subforms suitable for a \"~{~S ~}\" format string." - (let ((n-whole (gensym))) + (with-unique-names (whole) `(setf (gethash ',name *source-context-methods*) - (lambda (,n-whole) - (destructuring-bind ,lambda-list ,n-whole ,@body))))) + (lambda (,whole) + (destructuring-bind ,lambda-list ,whole ,@body))))) (define-source-context defstruct (name-or-options &rest slots) (declare (ignore slots))