X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fdeftype.lisp;h=e41c6fc659c07edc1dc8794d4d31d019c54c9f62;hb=09d7974601df2aaaa820ca576026b9b4f03e6ab1;hp=0e02d0fbda604da6eb0e227778910d995057cc41;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/src/compiler/deftype.lisp b/src/compiler/deftype.lisp index 0e02d0f..e41c6fc 100644 --- a/src/compiler/deftype.lisp +++ b/src/compiler/deftype.lisp @@ -9,10 +9,7 @@ (in-package "SB!IMPL") -(file-comment - "$Header$") - -(defmacro sb!xc:deftype (name arglist &body body) +(def!macro sb!xc:deftype (name arglist &body body) #!+sb-doc "Define a new type, with syntax like DEFMACRO." (unless (symbolp name) @@ -22,7 +19,7 @@ (parse-defmacro arglist whole body name 'deftype :default-default ''*) `(eval-when (:compile-toplevel :load-toplevel :execute) (%compiler-deftype ',name - #'(lambda (,whole) - ,@local-decs - (block ,name ,body)) + (lambda (,whole) + ,@local-decs + (block ,name ,body)) ,@(when doc `(,doc)))))))