mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-21 12:03:40 -08:00
cmp: fix compiler macro for sequence functions with :end argument
The :end argument was ignored previously.
This commit is contained in:
parent
35e4a9160f
commit
a4e93f7b61
1 changed files with 3 additions and 1 deletions
|
|
@ -161,7 +161,9 @@
|
|||
(unless ,test (return ,output))
|
||||
(let ((,%elt (si::seq-iterator-ref ,%sequence ,%iterator)))
|
||||
,@body)
|
||||
(setf ,%iterator (si::seq-iterator-next ,%sequence ,%iterator)))))))
|
||||
(setf ,%iterator (si::seq-iterator-next ,%sequence ,%iterator))
|
||||
,(when end
|
||||
`(decf ,%counter)))))))
|
||||
|
||||
;;;
|
||||
;;; MEMBER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue