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
Eric Timmons
asdf
Commits
8281e011
Commit
8281e011
authored
Dec 17, 2017
by
Francois-Rene Rideau
Browse files
Add package location information on SBCL
Enhance define-package so SBCL can locate the source-location of the package.
parent
cdb843e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
uiop/package.lisp
View file @
8281e011
...
@@ -732,7 +732,10 @@ export symbols with the same name as those exported from p. Note that in the ca
...
@@ -732,7 +732,10 @@ export symbols with the same name as those exported from p. Note that in the ca
of shadowing, etc. the symbols with the same name may not be the same symbols.
of shadowing, etc. the symbols with the same name may not be the same symbols.
UNINTERN -- Remove symbols here from PACKAGE."
UNINTERN -- Remove symbols here from PACKAGE."
(
let
((
ensure-form
(
let
((
ensure-form
`
(
apply
'ensure-package
',
(
parse-define-package-form
package
clauses
))))
`
(
prog1
(
apply
'ensure-package
',
(
parse-define-package-form
package
clauses
))
#+
sbcl
(
setf
(
sb-impl::package-source-location
(
find-package
',package
))
,
(
sb-c:source-location
)))))
`
(
progn
`
(
progn
#+
(
or
clasp
ecl
gcl
mkcl
)
(
defpackage
,
package
(
:use
))
#+
(
or
clasp
ecl
gcl
mkcl
)
(
defpackage
,
package
(
:use
))
(
eval-when
(
:compile-toplevel
:load-toplevel
:execute
)
(
eval-when
(
:compile-toplevel
:load-toplevel
:execute
)
...
...
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