Changeset 328


Ignore:
Timestamp:
Jan 17, 2004, 8:00:30 PM (21 years ago)
Author:
Gary Byers
Message:

From Bryan O'Connor: "LOOP FOR x ..." uses destructuring mechanism on X,
so "LOOP FOR NIL ..." is accepted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/library/loop.lisp

    r6 r328  
    155155  (if *loop-gentemp*
    156156      (gentemp (string pref))
    157       (gensym)))
     157      (gensym (string pref))))
    158158
    159159
     
    19561956          (multiple-value-setq (form start-constantp start-value)
    19571957            (loop-constant-fold-if-possible form indexv-type))
    1958           (loop-make-iteration-variable indexv form indexv-type))
     1958          (setq indexv (loop-make-iteration-variable indexv form indexv-type)))
    19591959         ((:upto :to :downto :above :below)
    19601960          (cond ((loop-tequal prep :upto) (setq inclusive-iteration (setq dir ':up)))
Note: See TracChangeset for help on using the changeset viewer.