Closes FB case 174 Fix chunk arrows in hyper-literate => use syntax-local-introduce on the value of 'disappeared-use and 'disappeared-binding

This commit is contained in:
Georges Dupéron 2017-01-20 14:01:34 +01:00
parent 835e565e0e
commit 5c75120b28

View File

@ -70,8 +70,8 @@
;#`(#,(datum->syntax #'body0 'begin) (let ([b-id (void)]) b-use) ... body0 body ...) ;#`(#,(datum->syntax #'body0 'begin) (let ([b-id (void)]) b-use) ... body0 body ...)
(syntax-property (syntax-property
(syntax-property #`(#,(datum->syntax #'body0 'begin) body0 body ...) (syntax-property #`(#,(datum->syntax #'body0 'begin) body0 body ...)
'disappeared-binding (syntax->list #'(b-id ...))) 'disappeared-binding (syntax->list (syntax-local-introduce #'(b-id ...))))
'disappeared-use (syntax->list #'(b-use ...))))) 'disappeared-use (syntax->list (syntax-local-introduce #'(b-use ...))))))
(define-for-syntax (strip-comments body) (define-for-syntax (strip-comments body)
(cond (cond