Provide a distinguished source when reading in codeblock
.
Closes racket/racket#3102.
This commit is contained in:
parent
fd9b85aa10
commit
45093b8a6b
|
@ -124,7 +124,9 @@
|
||||||
(loop (if (dont-stop? mode)
|
(loop (if (dont-stop? mode)
|
||||||
(dont-stop-val mode)
|
(dont-stop-val mode)
|
||||||
mode))))))]
|
mode))))))]
|
||||||
[program-source 'prog]
|
;; use a source that both identifies the original code
|
||||||
|
;; and is unique wrt eq? as used below
|
||||||
|
[program-source (or context bstr)]
|
||||||
[e (parameterize ([read-accept-reader #t])
|
[e (parameterize ([read-accept-reader #t])
|
||||||
((or expand
|
((or expand
|
||||||
(lambda (stx)
|
(lambda (stx)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user