#604 loop does not warn on REPEAT before FOR

lisp error
clisp (525)

loop [name-clause] {variable-clause}* {main-clause}* => result*
variable-clause::= with-clause | initial-final | for-as-clause
main-clause::= unconditional | accumulation | conditional | termination-test | initial-final
termination-test::= while form | until form | repeat form | always form | never form | thereis form

therefore we need a warning in
(loop repeat 0
for E = 7 then bob
finally (return E) )


  • Sam Steingold

    Sam Steingold - 2011-08-05
    • status: open --> closed-fixed
  • Sam Steingold

    Sam Steingold - 2011-08-05

    thank you for your bug report.
    the bug has been fixed in the source tree (mercurial/hg).
    you can either wait for the next release (recommended)
    or check out the current mercurial tree (see http://clisp.org\)
    and build CLISP from the sources (be advised that between
    releases the source tree is very unstable and may not even build
    on your platform).


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks