X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fmacroexpand.lisp;h=36ab43c21604b748ec3c2d3c233706e892a63dec;hb=15d6e7c9a2c3234f95dfe278046fa2fee1b0c007;hp=fc570d1cb02f73c905038f951033a91df1736441;hpb=4d5c5d322dcca0753474496cde44a9dbfe627496;p=sbcl.git diff --git a/src/code/macroexpand.lisp b/src/code/macroexpand.lisp index fc570d1..36ab43c 100644 --- a/src/code/macroexpand.lisp +++ b/src/code/macroexpand.lisp @@ -15,7 +15,7 @@ (defun sb!xc:special-operator-p (symbol) #!+sb-doc - "If the symbol globally names a special form, returns T, otherwise NIL." + "If the symbol globally names a special form, return T, otherwise NIL." (declare (symbol symbol)) (eq (info :function :kind symbol) :special-form)) @@ -28,10 +28,9 @@ whenever a runtime expansion is needed. Initially this is set to FUNCALL.") -(declaim (ftype (function (t &optional (or null sb!c::lexenv))) sb!xc:macroexpand-1)) (defun sb!xc:macroexpand-1 (form &optional env) #!+sb-doc - "If form is a macro (or symbol macro), expands it once. Returns two values, + "If form is a macro (or symbol macro), expand it once. Return two values, the expanded form and a T-or-NIL flag indicating whether the form was, in fact, a macro. ENV is the lexical environment to expand in, which defaults to the null environment." @@ -66,7 +65,6 @@ (t (values form nil)))) -(declaim (ftype (function (t &optional (or null sb!c::lexenv))) sb!xc:macroexpand)) (defun sb!xc:macroexpand (form &optional env) #!+sb-doc "Repetitively call MACROEXPAND-1 until the form can no longer be expanded.