mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Allow expansion of compiled and eval'd macros
This commit is contained in:
parent
0e21a437c9
commit
a5e1520137
1 changed files with 2 additions and 1 deletions
|
@ -1043,7 +1043,8 @@
|
|||
;; (alpha, cps, closure, etc). otherwise code has to be interpreted during expansion
|
||||
;;
|
||||
`(define ,name ,(expand body))))
|
||||
((macro:macro? exp *defined-macros*)
|
||||
((or (macro? exp)
|
||||
(macro:macro? exp *defined-macros*))
|
||||
(expand ;; Could expand into another macro
|
||||
(macro:expand exp *defined-macros*)))
|
||||
(else
|
||||
|
|
Loading…
Add table
Reference in a new issue