X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fpackage.lisp;h=2bb677ffba0a371210fe8d6b87848f0bda5adee8;hb=127fd3d2fb843c6bb7ad0763e143d81877e760e8;hp=c636fdd4249d7db3df9b1065cf29864bb3672e80;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/src/code/package.lisp b/src/code/package.lisp index c636fdd..2bb677f 100644 --- a/src/code/package.lisp +++ b/src/code/package.lisp @@ -104,7 +104,9 @@ #!+sb-package-locks (lock nil :type boolean) #!+sb-package-locks - (%implementation-packages nil :type list)) + (%implementation-packages nil :type list) + ;; Definition source location + (source-location nil :type (or null sb!c:definition-source-location))) ;;;; iteration macros @@ -206,9 +208,9 @@ &body body) #!+sb-doc "Within the lexical scope of the body forms, MNAME is defined via macrolet - such that successive invocations of (MNAME) will return the symbols, - one by one, from the packages in PACKAGE-LIST. SYMBOL-TYPES may be - any of :INHERITED :EXTERNAL :INTERNAL." +such that successive invocations of (MNAME) will return the symbols, one by +one, from the packages in PACKAGE-LIST. SYMBOL-TYPES may be any +of :INHERITED :EXTERNAL :INTERNAL." (let* ((packages (gensym)) (these-packages (gensym)) (ordered-types (let ((res nil)) @@ -234,7 +236,7 @@ (or (find-package package) (error 'simple-package-error ;; could be a character - :name (string package) + :package (string package) :format-control "~@<~S does not name a package ~:>" :format-arguments (list package))))) (if (consp ,these-packages)