mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-12 20:31:55 -08:00
Fixed type warning in macroexpansion of sequece iterators
This commit is contained in:
parent
bd4f3597ed
commit
09ae1f43c0
1 changed files with 3 additions and 2 deletions
|
|
@ -140,8 +140,9 @@
|
|||
|
||||
(defmacro do-in-seq ((%elt sequence &key (start 0) end output) &body body)
|
||||
(ext:with-unique-names (%start %iterator %counter %sequence)
|
||||
(let* ((counter (and end `(- (or ,end most-positive-fixnum)
|
||||
,%start)))
|
||||
(let* ((counter (if end
|
||||
`(- (or ,end most-positive-fixnum) ,%start)
|
||||
0))
|
||||
(test (if end
|
||||
`(and ,%iterator (plusp ,%counter))
|
||||
%iterator)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue