Skip to content
Snippets Groups Projects
Commit d02f33ad authored by Kevin Rosenberg's avatar Kevin Rosenberg
Browse files

1.70:

    - Signal a generalized instance of system-definition-error
    - Add another check to check-component-inputs
    - Fix check for :components value
parent 57e4b086
No related branches found
No related tags found
No related merge requests found
;;; This is asdf: Another System Definition Facility. $Revision: 1.69 $ ;;; This is asdf: Another System Definition Facility. $Revision: 1.70 $
;;; ;;;
;;; Feedback, bug reports, and patches are all welcome: please mail to ;;; Feedback, bug reports, and patches are all welcome: please mail to
;;; <cclan-list@lists.sf.net>. But note first that the canonical ;;; <cclan-list@lists.sf.net>. But note first that the canonical
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
(in-package #:asdf) (in-package #:asdf)
(defvar *asdf-revision* (let* ((v "$Revision: 1.69 $") (defvar *asdf-revision* (let* ((v "$Revision: 1.70 $")
(colon (or (position #\: v) -1)) (colon (or (position #\: v) -1))
(dot (position #\. v))) (dot (position #\. v)))
(and v colon dot (and v colon dot
...@@ -889,7 +889,7 @@ Returns the new tree (which probably shares structure with the old one)" ...@@ -889,7 +889,7 @@ Returns the new tree (which probably shares structure with the old one)"
depends-on serial in-order-to depends-on serial in-order-to
;; list ends ;; list ends
&allow-other-keys) options &allow-other-keys) options
(check-component-input type name depends-on components) (check-component-input type name depends-on components in-order-to)
(let* ((other-args (remove-keys (let* ((other-args (remove-keys
'(components pathname default-component-class '(components pathname default-component-class
perform explain output-files operation-done-p perform explain output-files operation-done-p
...@@ -944,16 +944,22 @@ Returns the new tree (which probably shares structure with the old one)" ...@@ -944,16 +944,22 @@ Returns the new tree (which probably shares structure with the old one)"
(component-inline-methods ret)))) (component-inline-methods ret))))
ret))) ret)))
(defun check-component-input (type name depends-on components) (defun check-component-input (type name depends-on components in-order-to)
"A partial test of the values of a component." "A partial test of the values of a component."
(unless (listp depends-on) (unless (listp depends-on)
(error (sysdef-error-component ":depends-on must be a list."
":depends-on must be a list.~&The value for ~(~A~) ~A is ~W" type name depends-on)) type name depends-on))
(unless (and (listp components) (listp (car components))) (unless (listp components)
(error (sysdef-error-component ":components must be NIL or a list of components."
":components must be NIL or a list of lists.~&The value for ~(~A~) ~A is ~W" type name components))
type name components))) (unless (and (listp in-order-to) (listp (car in-order-to)))
(sysdef-error-comonent ":in-order-to must be NIL or a list of components."
type name in-order-to)))
(defun sysdef-error-component (msg type name value)
(sysdef-error (concatenate 'string msg
"~&The value specified for ~(~A~) ~A is ~W")
type name value))
(defun resolve-symlinks (path) (defun resolve-symlinks (path)
#-allegro (truename path) #-allegro (truename path)
......
cl-asdf (1.70) unstable; urgency=low
* Add another check in check-component-values.
* Signal a generalized instance of SYSTEM-DEFINITION-ERROR
from check-component-values
-- Kevin M. Rosenberg <kmr@debian.org> Tue, 6 May 2003 09:32:16 -0600
cl-asdf (1.69) unstable; urgency=low cl-asdf (1.69) unstable; urgency=low
* Add check-component-values function with partial checking of components * Add check-component-values function with partial checking of components
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment