Skip to content

Commit

Permalink
Fix match? to return T/NIL.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Jul 31, 2015
1 parent 243e9fc commit f0ecdad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/proc-parse.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,10 @@
`(let ((,start ,',p)
(,start-elem ,',elem))
(handler-case
(match ,@vectors)
(progn (match ,@vectors) t)
(match-failed ()
(setq ,',p ,start
,',elem ,start-elem))))))
,',elem ,start-elem) nil)))))
(match-i (&rest vectors)
`(match-i-case
,@(loop for vec in vectors
Expand Down

0 comments on commit f0ecdad

Please sign in to comment.