optparse.lisp: Move `ignorable' declaration into the right place.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 20 Dec 2014 22:26:05 +0000 (22:26 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 20 Dec 2014 22:26:05 +0000 (22:26 +0000)
optparse.lisp

index 73d9619..a949128 100644 (file)
         (setf (get ',name 'opthandler) ',func)
         (defun ,func (,var ,arg ,@args)
           ,@docs ,@decls
         (setf (get ',name 'opthandler) ',func)
         (defun ,func (,var ,arg ,@args)
           ,@docs ,@decls
+          (declare (ignorable ,arg))
           (with-locatives ,var
           (with-locatives ,var
-            (declare (ignorable ,arg))
             ,@body))
         ',name))))
 
             ,@body))
         ',name))))