Have optimizer ignore #%top expressions.
original commit: 3494b89f25525db0b848c8da5bb21db382578a2f
This commit is contained in:
parent
08adb59b66
commit
89d248332c
|
@ -76,7 +76,7 @@
|
|||
(pattern (~and ((~or #%provide #%require begin-for-syntax define-syntaxes module module*)
|
||||
. _)
|
||||
opt))
|
||||
(pattern (~and (~or (quote _) (quote-syntax _) :id) opt)))
|
||||
(pattern (~and (~or (quote _) (quote-syntax _) (#%top . _) :id) opt)))
|
||||
|
||||
(define (optimize-top stx)
|
||||
(parameterize ([optimize (syntax-parser [e:opt-expr* #'e.opt])])
|
||||
|
|
Loading…
Reference in New Issue
Block a user