Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
asdf
asdf
Commits
13762917
Commit
13762917
authored
Dec 07, 2005
by
Edi Weitz
Browse files
Push :ASDF-SYSTEMNAME (Alan Shields)
parent
7f5643ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
asdf.lisp
View file @
13762917
;;; This is asdf: Another System Definition Facility. $Revision: 1.
8
9 $
;;; This is asdf: Another System Definition Facility. $Revision: 1.9
0
$
;;;
;;; Feedback, bug reports, and patches are all welcome: please mail to
;;; <cclan-list@lists.sf.net>. But note first that the canonical
...
...
@@ -109,7 +109,7 @@
(
in-package
#:asdf
)
(
defvar
*asdf-revision*
(
let*
((
v
"$Revision: 1.
8
9 $"
)
(
defvar
*asdf-revision*
(
let*
((
v
"$Revision: 1.9
0
$"
)
(
colon
(
or
(
position
#\:
v
)
-1
))
(
dot
(
position
#\.
v
)))
(
and
v
colon
dot
...
...
@@ -760,6 +760,11 @@ system."))
(
cons
(
list
'compile-op
(
component-name
c
))
(
call-next-method
)))
(
defmethod
asdf:perform
:after
((
operation
load-op
)
(
s
system
))
"After a system is loaded by ASDF, push ASDF-SYSTEMNAME onto *features*
This enables easy use of #+asdf-systemname and friends"
(
pushnew
(
intern
(
format
nil
"ASDF-~A"
(
string-upcase
(
component-name
s
)))
:keyword
)
cl:*features*
))
;;; load-source-op
(
defclass
load-source-op
(
operation
)
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment