Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Didier Verna
asdf
Commits
a5424d6c
Commit
a5424d6c
authored
11 years ago
by
Robert P. Goldman
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Patch to enforce system naming conventions."
This reverts commit
38dfc6d6
.
parent
49c8fcaf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
find-system.lisp
+0
-14
0 additions, 14 deletions
find-system.lisp
parse-defsystem.lisp
+1
-1
1 addition, 1 deletion
parse-defsystem.lisp
with
1 addition
and
15 deletions
find-system.lisp
+
0
−
14
View file @
a5424d6c
...
...
@@ -77,24 +77,10 @@ of which is a system object.")
(
loop
:for
registered
:being
:the
:hash-values
:of
*defined-systems*
:collect
(
coerce-name
(
cdr
registered
))))
(
defun
check-acceptable-system-name
(
name
)
(
flet
((
acceptable-char-p
(
c
)
(
or
;; these two are acceptable characters for logical pathnames
(
alphanumericp
c
)
(
eql
c
#\-
)
;; forward slash has a special meaning to ASDF
(
eql
c
#\/
))))
(
let
((
unacceptable
(
find-if-not
#'
acceptable-char-p
name
)))
(
when
unacceptable
(
sysdef-error
(
compatfmt
"~@<Bad character for system name: ~c in ~3i~_~A~@:>"
)
unacceptable
name
)))
t
))
(
defun
register-system
(
system
)
(
check-type
system
system
)
(
let
((
name
(
component-name
system
)))
(
check-type
name
string
)
(
check-acceptable-system-name
name
)
(
asdf-message
(
compatfmt
"~&~@<; ~@;Registering ~3i~_~A~@:>~%"
)
system
)
(
unless
(
eq
system
(
cdr
(
gethash
name
*defined-systems*
)))
(
setf
(
gethash
name
*defined-systems*
)
...
...
This diff is collapsed.
Click to expand it.
parse-defsystem.lisp
+
1
−
1
View file @
a5424d6c
...
...
@@ -247,7 +247,7 @@ 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
(
coerce-name
name
))
(
source-file
(
if
sfp
source-file
(
resolve-symlinks*
(
load-pathname
))))
(
registered
(
system-registered-p
name
))
(
registered!
(
if
registered
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment