projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
259f6aa
)
defmacro expansion uses eval-when
author
David Vázquez
<davazp@gmail.com>
Thu, 29 Aug 2013 16:45:09 +0000
(18:45 +0200)
committer
David Vázquez
<davazp@gmail.com>
Thu, 29 Aug 2013 16:45:09 +0000
(18:45 +0200)
src/boot.lisp
patch
|
blob
|
history
diff --git
a/src/boot.lisp
b/src/boot.lisp
index
1b3541c
..
4dead5c
100644
(file)
--- a/
src/boot.lisp
+++ b/
src/boot.lisp
@@
-24,13
+24,13
@@
(/debug "loading boot.lisp!")
-(eval-when-compile
+(eval-when (:compile-toplevel)
(let ((defmacro-macroexpander
'#'(lambda (form)
(destructuring-bind (name args &body body)
form
(let ((whole (gensym)))
- `(eval-when-compile
+ `(eval-when (:compile-toplevel :execute)
(%compile-defmacro ',name
'#'(lambda (,whole)
(destructuring-bind ,args ,whole