The compiled version of DOTIMES evaluated the output form in the wrong context

This commit is contained in:
Juan Jose Garcia Ripoll 2012-10-27 21:36:13 +02:00
parent 1dd472dbc2
commit a751b9df33

View file

@ -30,11 +30,12 @@
,@declarations)
(si::while (< ,variable ,%limit)
,@body
(reckless (setq ,variable (1+ ,variable))))))
(reckless (setq ,variable (1+ ,variable))))
,@output))
(t
(let ((,variable 0))
(declare ,@declarations)
(si::while (< ,variable ,%limit)
,@body
(setq ,variable (1+ ,variable))))))
,@output)))))
(setq ,variable (1+ ,variable)))
,@output))))))))