chiark
/
gitweb
/
~mdw
/
lisp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4da88bb
)
optparse.lisp: Move `ignorable' declaration into the right place.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 20 Dec 2014 22:26:05 +0000
(22:26 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 20 Dec 2014 22:26:05 +0000
(22:26 +0000)
optparse.lisp
patch
|
blob
|
blame
|
history
diff --git
a/optparse.lisp
b/optparse.lisp
index 73d961932952c00be22783e30cb2040858027d16..a94912855e824fcc256c4766042050e06fce18f4 100644
(file)
--- a/
optparse.lisp
+++ b/
optparse.lisp
@@
-447,8
+447,8
@@
(defmacro defopthandler (name (var &optional (arg (gensym)))
(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))))