Changeset 11614
- Timestamp:
- 01/31/09 22:43:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/compiler-pass2.lisp
r11613 r11614 6906 6906 (defun p2-minus (form target representation) 6907 6907 (case (length form) 6908 (1 6909 ;; generates "Insufficient arguments" error 6910 (compile-function-call form target representation)) 6908 6911 (2 6909 6912 (let* ((arg (%cadr form)) … … 6968 6971 (t 6969 6972 (compile-binary-operation "subtract" args target representation))))) 6970 (46971 ;; (- a b c) => (- (- a b) c)6972 (let ((new-form `(- (- ,(second form) ,(third form)) ,(fourth form))))6973 (p2-minus new-form target representation)))6974 6973 (t 6975 (compile-function-call form target representation)))) 6974 (let ((new-form `(- (- ,(second form) ,(third form)) ,@(nthcdr 3 form)))) 6975 (p2-minus new-form target representation))))) 6976 6976 6977 6977 ;; char/schar string index => character
Note: See TracChangeset
for help on using the changeset viewer.