X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fparse-defmacro.lisp;h=0ddf097d15e6fea03bf376e17898e8b6be130c60;hb=a6a12ed609d5467ec43b411283e5b3568fee81df;hp=48576799bb5dae3ce8dfab57388e79fd9c0d5876;hpb=deac413eadea2935f356eebfc8f6b01b6367d260;p=sbcl.git diff --git a/src/code/parse-defmacro.lisp b/src/code/parse-defmacro.lisp index 4857679..0ddf097 100644 --- a/src/code/parse-defmacro.lisp +++ b/src/code/parse-defmacro.lisp @@ -342,7 +342,7 @@ ;;; We save space in macro definitions by calling this function. (defun arg-count-error (context name args lambda-list minimum maximum) (let (#-sb-xc-host - (sb!debug:*stack-top-hint* (nth-value 1 (find-caller-name-and-frame)))) + (sb!debug:*stack-top-hint* (or sb!debug:*stack-top-hint* 'arg-count-error))) (error 'arg-count-error :kind context :name name