Fixed bad bug when a #:save-as chunk contained a ...
This commit is contained in:
parent
57a4d0184d
commit
148ec8da08
|
@ -120,7 +120,7 @@
|
||||||
(lambda (stx) #'(chunkref name))))
|
(lambda (stx) #'(chunkref name))))
|
||||||
(begin-for-syntax (init-chunk-number #'name))))
|
(begin-for-syntax (init-chunk-number #'name))))
|
||||||
#,(if (attribute save-as)
|
#,(if (attribute save-as)
|
||||||
#'(define-syntax (save-as s) (syntax pre-content))
|
#'(define-syntax (save-as s) (quote-syntax pre-content))
|
||||||
#'pre-content))))]))
|
#'pre-content))))]))
|
||||||
|
|
||||||
(define-syntax chunk (make-chunk #'racketblock #t))
|
(define-syntax chunk (make-chunk #'racketblock #t))
|
||||||
|
|
|
@ -12,8 +12,19 @@
|
||||||
@CHUNK[<values>
|
@CHUNK[<values>
|
||||||
'D]
|
'D]
|
||||||
|
|
||||||
|
@chunk[<values>
|
||||||
|
'E]
|
||||||
|
|
||||||
|
@chunk[<values>
|
||||||
|
'F]
|
||||||
|
|
||||||
|
@CHUNK[<values>
|
||||||
|
'G]
|
||||||
|
|
||||||
|
@CHUNK[<values>
|
||||||
|
'H]
|
||||||
|
|
||||||
@chunk[<*>
|
@chunk[<*>
|
||||||
(require rackunit)
|
(require rackunit)
|
||||||
(check-equal? (list <values>)
|
(check-equal? (list <values>)
|
||||||
'(A B C D))]
|
'(A B C D E F G H))]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user