Fix problem with scribble/lp and dotted forms
Closes PR 10924 Merge to v5.0 original commit: 6dec67730837b512d5cb0e258a4c48599ef656a1
This commit is contained in:
parent
291101390a
commit
b81e27d601
|
@ -41,7 +41,7 @@
|
|||
(raise-syntax-error 'scribble/lp "no chunks")))
|
||||
(define orig-stx (syntax-case stx () [(_ orig) #'orig]))
|
||||
(define (restore nstx d) (datum->syntax orig-stx d nstx nstx))
|
||||
(define (shift nstx) (datum->syntax orig-stx (syntax-e nstx) nstx nstx))
|
||||
(define (shift nstx) (replace-context orig-stx nstx))
|
||||
(define body
|
||||
(let ([main-id (or main-id first-id)])
|
||||
(restore
|
||||
|
|
Loading…
Reference in New Issue
Block a user