optparse.lisp: Move `ignorable' declaration into the right place.
[lisp] / optparse.lisp
index 73d9619..a949128 100644 (file)
         (setf (get ',name 'opthandler) ',func)
         (defun ,func (,var ,arg ,@args)
           ,@docs ,@decls
+          (declare (ignorable ,arg))
           (with-locatives ,var
-            (declare (ignorable ,arg))
             ,@body))
         ',name))))