X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdefmacro.lisp;h=edbc93cdb8b8a1dcfc2501d6e1e50a00e33301c9;hb=020de3c04699323437f0c746fe986506b716ab97;hp=aec98f0a63cb4b167569533b94f0cebe8c61c816;hpb=22b819c0cd0ca0ea5be52ba280b9e9e0b8e86210;p=sbcl.git diff --git a/src/code/defmacro.lisp b/src/code/defmacro.lisp index aec98f0..edbc93c 100644 --- a/src/code/defmacro.lisp +++ b/src/code/defmacro.lisp @@ -37,9 +37,8 @@ :environment environment) (let ((def `(lambda (,whole ,environment) ,@local-decs - (block ,name - ,new-body))) - ;; if we want to move over to list-style names + ,new-body)) + ;; If we want to move over to list-style names ;; [e.g. (DEFMACRO FOO), maybe to support some XREF-like ;; functionality] here might be a good place to start. (debug-name (debug-namify "DEFMACRO ~S" name))) @@ -93,8 +92,7 @@ lambda-list (%simple-fun-name (%closure-fun definition)) debug-name)) - ((#.sb!vm:simple-fun-header-widetag - #.sb!vm:closure-fun-header-widetag) + (#.sb!vm:simple-fun-header-widetag (setf (%simple-fun-arglist definition) lambda-list (%simple-fun-name definition) debug-name)))) name))))