mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-24 13:31:58 -08:00
loop.lsp: remove wrong type declaration for on keyword. Fixes #418
This commit is contained in:
parent
d2fc77d4f9
commit
2f48a7df9d
1 changed files with 2 additions and 1 deletions
|
|
@ -1411,7 +1411,8 @@ Note that this is not a valid ANSI code."))
|
|||
(cond ((and var (symbolp var))
|
||||
(loop-make-iteration-variable var list data-type))
|
||||
(t
|
||||
(loop-make-variable (setq listvar (gensym)) list 'list)
|
||||
;; using data type 'list for listvar can lead to errors for dotted lists
|
||||
(loop-make-variable (setq listvar (gensym)) list nil)
|
||||
(loop-make-iteration-variable var nil data-type)))
|
||||
(let ((list-step (loop-list-step listvar)))
|
||||
(let* ((first-endtest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue