preserve user origin field... it may be useful
This commit is contained in:
parent
3030fd3f4a
commit
35c9bd90ab
|
@ -199,6 +199,15 @@
|
||||||
[(let-values) #'let]
|
[(let-values) #'let]
|
||||||
[(letrec-values) #'letrec]))]
|
[(letrec-values) #'letrec]))]
|
||||||
[new-bodies (map (lambda (body) (unwind body settings)) (syntax->list #'bodies))])
|
[new-bodies (map (lambda (body) (unwind body settings)) (syntax->list #'bodies))])
|
||||||
|
;; is there a nested let-form that should be combined with this one?
|
||||||
|
#;(syntax-case #`new-bodies ()
|
||||||
|
[(only-body)
|
||||||
|
(same-source? stx #'only-body)
|
||||||
|
(syntax-case #'only-body ()
|
||||||
|
[(let/*/rec bindings inner-body ...)
|
||||||
|
]
|
||||||
|
[else
|
||||||
|
(error "internal error 20110709: nested expr in let/*/rec had same source, but wasn't a let/*/rec")])])
|
||||||
;; is this let and the nested one part of a let*?
|
;; is this let and the nested one part of a let*?
|
||||||
(syntax-case #`new-bodies (let*)
|
(syntax-case #`new-bodies (let*)
|
||||||
[((let* bindings inner-body ...))
|
[((let* bindings inner-body ...))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user