Commit cbff03f1 authored by Robert P. Goldman's avatar Robert P. Goldman
Browse files

Check to ensure systems have lower-case names.

parent f02926df
......@@ -247,7 +247,13 @@ system names contained using COERCE-NAME. Return the result."
;; that is registered to a different location to find-system,
;; we also need to remember it in a special variable *systems-being-defined*.
(with-system-definitions ()
(let* ((name (string-downcase (coerce-name name)))
(let* ((name (let ((rawname (coerce-name name)))
(unless (equal (string-downcase rawname) rawname)
(cerror "Continue, using downcased system name."
"Error, systems must have lowercase names."))
(string-downcase rawname)))
(source-file (if sfp source-file (resolve-symlinks* (load-pathname))))
(registered (system-registered-p name))
(registered! (if registered
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment