Changeset 11807


Ignore:
Timestamp:
04/30/09 06:20:02 (14 years ago)
Author:
ehuelsmann
Message:

Follow-up on r11802: only put declarations which are explicitly about the
argument variables in the lambda and the rest in the LET*; otherwise
we may be declaring variables special before we should.

File:
1 edited

Legend:

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

    r11806 r11807  
    449449              (t
    450450               (push form aux-vars))))
    451       (multiple-value-bind (lambda-decls let-decls)
    452           (split-decls decls aux-vars)
    453         `(lambda ,(subseq lambda-list 0 (position '&AUX lambda-list))
     451      (setf lambda-list (subseq lambda-list 0 (position '&AUX lambda-list)))
     452      (multiple-value-bind (let-decls lambda-decls)
     453          (split-decls decls (lambda-list-names lambda-list))
     454        `(lambda ,lambda-list
    454455           ,@lambda-decls
    455456           (let* ,lets
Note: See TracChangeset for help on using the changeset viewer.