Ignore:
Timestamp:
04/29/09 22:00:18 (14 years ago)
Author:
ehuelsmann
Message:

LET/LET* bindings can be (in case of a CONS)
of length 1 or 2 (not only 2).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/compiler-pass1.lisp

    r11803 r11804  
    151151       (dolist (,varspec ,varlist)
    152152   (cond ((consp ,varspec)
    153               ;; FIXME Currently this error is signalled by the precompiler.
    154     (unless (= (length ,varspec) 2)
     153                ;; Even though the precompiler already signals this
     154                ;; error, double checking can't hurt; after all, we're
     155                ;; also rewriting &AUX into LET* bindings.
     156    (unless (<= 1 (length ,varspec) 2)
    155157      (compiler-error "The LET/LET* binding specification ~S is invalid."
    156158          ,varspec))
Note: See TracChangeset for help on using the changeset viewer.