Fix for-as-arithmetic loop clause when no limit is present
commitae50fb106051adc8bf1888fcb4d6fd609a4495e1
authorJason Miller <aidenn0@geocities.com>
Mon, 14 Jan 2019 20:55:42 +0000 (14 12:55 -0800)
committerVladimir Sedach <vas@oneofus.la>
Sat, 11 Apr 2020 20:37:07 +0000 (11 13:37 -0700)
tree6d969e1e4f2c00d4b836b224f400fc0809710ce5
parent408ffa7bc6b3380aa8893a8063c43686d62c5cc1
Fix for-as-arithmetic loop clause when no limit is present

When negative looping was added (7d2536d8dbd1) it broke cases like:

    (loop for i from x ...)

Instead of omitting the test it would instead add a test of (i < null).

This patch corrects the bug that was introduced
src/lib/ps-loop.lisp