X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fmacros.lisp;h=4ef3dc0a749993e3f7f7ad6db16dacf4e60a5db2;hb=224466fab9dc4e8b3faf13a121f827f198811bf6;hp=10911149d8397271b3870600cb35f48385f8ad32;hpb=acb7e69e6029efd8127b3c4288f750c2d0cb7a42;p=sbcl.git diff --git a/src/code/macros.lisp b/src/code/macros.lisp index 1091114..4ef3dc0 100644 --- a/src/code/macros.lisp +++ b/src/code/macros.lisp @@ -319,7 +319,8 @@ ;;;; WITH-FOO i/o-related macros (defmacro-mundanely with-open-stream ((var stream) &body forms-decls) - (multiple-value-bind (forms decls) (parse-body forms-decls nil) + (multiple-value-bind (forms decls) + (parse-body forms-decls :doc-string-allowed nil) (let ((abortp (gensym))) `(let ((,var ,stream) (,abortp t)) @@ -338,7 +339,8 @@ (defmacro-mundanely with-input-from-string ((var string &key index start end) &body forms-decls) - (multiple-value-bind (forms decls) (parse-body forms-decls nil) + (multiple-value-bind (forms decls) + (parse-body forms-decls :doc-string-allowed nil) ;; The ONCE-ONLY inhibits compiler note for unreachable code when ;; END is true. (once-only ((string string)) @@ -366,7 +368,8 @@ (defmacro-mundanely with-output-to-string ((var &optional string &key (element-type ''character)) &body forms-decls) - (multiple-value-bind (forms decls) (parse-body forms-decls nil) + (multiple-value-bind (forms decls) + (parse-body forms-decls :doc-string-allowed nil) (if string `(let ((,var (make-fill-pointer-output-stream ,string))) ,@decls