Changeset 13874
- Timestamp:
- Jun 23, 2010, 4:32:25 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/source/tools/asdf.lisp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/tools/asdf.lisp
r13768 r13874 71 71 (let* ((asdf-version 72 72 ;; the 1+ helps the version bumping script discriminate 73 (subseq "VERSION:2.00 0" (1+ (length "VERSION"))))73 (subseq "VERSION:2.002" (1+ (length "VERSION")))) 74 74 (existing-asdf (find-package :asdf)) 75 75 (vername '#:*asdf-version*) … … 468 468 469 469 (defmacro while-collecting ((&rest collectors) &body body) 470 "COLLECTORS should be a list of names for collections. A collector 471 defines a function that, when applied to an argument inside BODY, will 472 add its argument to the corresponding collection. Returns multiple values, 473 a list for each collection, in order. 474 E.g., 475 \(while-collecting \(foo bar\) 476 \(dolist \(x '\(\(a 1\) \(b 2\) \(c 3\)\)\) 477 \(foo \(first x\)\) 478 \(bar \(second x\)\)\)\) 479 Returns two values: \(A B C\) and \(1 2 3\)." 470 480 (let ((vars (mapcar #'(lambda (x) (gensym (symbol-name x))) collectors)) 471 481 (initial-values (mapcar (constantly nil) collectors))) … … 605 615 (values :relative nil)) 606 616 (values :relative components)) 617 (setf components (remove "" components :test #'equal)) 607 618 (cond 608 619 ((equal last-comp "") 609 (values relative (butlast components) nil))620 (values relative components nil)) ; "" already removed 610 621 (force-directory 611 622 (values relative components nil)) … … 2083 2094 (and (eq type :file) 2084 2095 (or (module-default-component-class parent) 2085 (find-class 'cl-source-file)))2096 (find-class *default-component-class*))) 2086 2097 (sysdef-error "~@<don't recognize component type ~A~@:>" type)))) 2087 2098
Note:
See TracChangeset
for help on using the changeset viewer.
