fix with-shared-id
This commit is contained in:
parent
e2df4fee70
commit
42d0dacb5b
|
@ -119,9 +119,7 @@
|
||||||
|
|
||||||
(begin-for-syntax
|
(begin-for-syntax
|
||||||
(define-syntax-rule (with-shared-id (id ...) . body)
|
(define-syntax-rule (with-shared-id (id ...) . body)
|
||||||
(with-syntax ([id (datum->syntax caller-stx (if (syntax? id)
|
(with-syntax ([id (datum->syntax caller-stx 'id)] ...)
|
||||||
(syntax-e id)
|
|
||||||
id))] ...)
|
|
||||||
. body)))
|
. body)))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user