#604 loop does not warn on REPEAT before FOR

lisp error
closed-fixed
clisp (525)
5
2011-08-05
2011-08-02
No

http://www.lispworks.com/documentation/HyperSpec/Body/m_loop.htm
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) )

Discussion

  • 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).

     

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

Sign up for the SourceForge newsletter:





No, thanks