projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
317e7d8
)
Reorder file loading and fix define-setf-expander
author
David Vázquez
<davazp@gmail.com>
Fri, 30 Aug 2013 23:37:42 +0000
(
01:37
+0200)
committer
David Vázquez
<davazp@gmail.com>
Fri, 30 Aug 2013 23:37:42 +0000
(
01:37
+0200)
jscl.lisp
patch
|
blob
|
history
src/boot.lisp
patch
|
blob
|
history
diff --git
a/jscl.lisp
b/jscl.lisp
index
127fd02
..
8378417
100644
(file)
--- a/
jscl.lisp
+++ b/
jscl.lisp
@@
-47,10
+47,11
@@
("sequence" :target)
("stream" :target)
("print" :target)
- ("package" :target)
- ("misc" :target)
("documentation" :target)
- ("ffi" :both)
+ ("misc" :target)
+ ("ffi" :target)
+ ("package" :target)
+
("read" :both)
("defstruct" :both)
("lambda-list" :both)
diff --git
a/src/boot.lisp
b/src/boot.lisp
index
8764aa2
..
821c482
100644
(file)
--- a/
src/boot.lisp
+++ b/
src/boot.lisp
@@
-369,9
+369,10
@@
(defmacro define-setf-expander (access-fn lambda-list &body body)
(unless (symbolp access-fn)
(error "ACCESS-FN `~S' must be a symbol." access-fn))
- `(progn (push (cons ',access-fn (lambda ,lambda-list ,@body))
- *setf-expanders*)
- ',access-fn))
+ `(eval-when (:compile-toplevel :load-toplevel :execute)
+ (push (cons ',access-fn (lambda ,lambda-list ,@body))
+ *setf-expanders*)
+ ',access-fn))
(defmacro setf (&rest pairs)
(cond