Source location in synthetic module begin.
This commit is contained in:
parent
b952c54803
commit
055eb3cd0b
|
@ -70,8 +70,9 @@
|
|||
;; local-expand the module
|
||||
;; pmb = #%plain-module-begin
|
||||
[with-syntax ([new-mod
|
||||
(local-expand #`(#%plain-module-begin
|
||||
forms ...)
|
||||
(local-expand (syntax/loc stx
|
||||
(#%plain-module-begin
|
||||
forms ...))
|
||||
'module-begin
|
||||
null)])]
|
||||
[with-syntax ([(pmb body2 ...) #'new-mod])]
|
||||
|
|
Loading…
Reference in New Issue
Block a user