fix splicing-syntax-parameterize with begin (patch from Stevie) --- should be merged to 4.1.4
svn: r13187
This commit is contained in:
parent
e54e5cf6d6
commit
c33a201c43
|
@ -118,9 +118,12 @@
|
|||
#f)])
|
||||
;; Extract expanded body out of `body':
|
||||
(syntax-case body (quote)
|
||||
[(ls _ _ (quoute body))
|
||||
[(ls _ _ (quote body))
|
||||
(let ([body #'body])
|
||||
(syntax-case body (begin define-values define-syntaxes define-for-syntaxes)
|
||||
[(begin expr ...)
|
||||
(syntax/loc body
|
||||
(begin (expand-ssp-body (sp-id ...) (temp-id ...) expr) ...))]
|
||||
[(define-values (id ...) rhs)
|
||||
(syntax/loc body
|
||||
(define-values (id ...)
|
||||
|
|
Loading…
Reference in New Issue
Block a user