X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fpackage.lisp;h=bc7ca27500747e69e1d6f9e9299b2e6d4fb2342a;hb=084168e1524a6493bc0f9d1697753d31239b158d;hp=11a6a2e699f4993a3d6e178d6715912f52f8d47d;hpb=07b54b55bb26944932be15bdeb6b14426e441dc9;p=sbcl.git diff --git a/src/code/package.lisp b/src/code/package.lisp index 11a6a2e..bc7ca27 100644 --- a/src/code/package.lisp +++ b/src/code/package.lisp @@ -73,7 +73,7 @@ #!+sb-doc "the standard structure for the description of a package" ;; the name of the package, or NIL for a deleted package - (%name nil :type (or simple-string null)) + (%name nil :type (or simple-base-string null)) ;; nickname strings (%nicknames () :type list) ;; packages used by this package @@ -99,7 +99,7 @@ ;; shadowing symbols (%shadowing-symbols () :type list) ;; documentation string for this package - (doc-string nil :type (or simple-string null))) + (doc-string nil :type (or simple-base-string null))) ;;;; iteration macros @@ -111,7 +111,8 @@ "DO-SYMBOLS (VAR [PACKAGE [RESULT-FORM]]) {DECLARATION}* {TAG | FORM}* Executes the FORMs at least once for each symbol accessible in the given PACKAGE with VAR bound to the current symbol." - (multiple-value-bind (body decls) (parse-body body-decls nil) + (multiple-value-bind (body decls) + (parse-body body-decls :doc-string-allowed nil) (let ((flet-name (gensym "DO-SYMBOLS-"))) `(block nil (flet ((,flet-name (,var) @@ -146,7 +147,8 @@ "DO-EXTERNAL-SYMBOLS (VAR [PACKAGE [RESULT-FORM]]) {DECL}* {TAG | FORM}* Executes the FORMs once for each external symbol in the given PACKAGE with VAR bound to the current symbol." - (multiple-value-bind (body decls) (parse-body body-decls nil) + (multiple-value-bind (body decls) + (parse-body body-decls :doc-string-allowed nil) (let ((flet-name (gensym "DO-SYMBOLS-"))) `(block nil (flet ((,flet-name (,var) @@ -171,7 +173,8 @@ "DO-ALL-SYMBOLS (VAR [RESULT-FORM]) {DECLARATION}* {TAG | FORM}* Executes the FORMs once for each symbol in every package with VAR bound to the current symbol." - (multiple-value-bind (body decls) (parse-body body-decls nil) + (multiple-value-bind (body decls) + (parse-body body-decls :doc-string-allowed nil) (let ((flet-name (gensym "DO-SYMBOLS-"))) `(block nil (flet ((,flet-name (,var)