Elaborate in this comment.
svn: r17152
This commit is contained in:
parent
d113d2d19a
commit
39689ae4e7
|
@ -184,8 +184,10 @@
|
||||||
(- (or (syntax-position modpath) (add1 pos))
|
(- (or (syntax-position modpath) (add1 pos))
|
||||||
pos)))
|
pos)))
|
||||||
v))]
|
v))]
|
||||||
;; Since there are users that wrap with #%module-begin in their reader,
|
;; Since there are users that wrap with #%module-begin in their reader
|
||||||
;; we need to avoid double-wrapping.
|
;; or wrapper1 functions, we need to avoid double-wrapping. Having to
|
||||||
|
;; do this for #lang readers should be considered deprecated, and
|
||||||
|
;; hopefully one day we'll move to just doing it unilaterally.
|
||||||
[wrapped-body (if (contains-#%module-begin body)
|
[wrapped-body (if (contains-#%module-begin body)
|
||||||
body
|
body
|
||||||
(let ([wrapped `(#%module-begin . ,body)])
|
(let ([wrapped `(#%module-begin . ,body)])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user