syntax-source-module: use second argument
The implementation still lacks a way to find the original source name, though, in case of a ".ss" to ".rkt" conversion.
This commit is contained in:
parent
014441bceb
commit
62b7ff6f84
|
@ -302,7 +302,10 @@
|
|||
(define-values (path base) (module-path-index-split from-mpi))
|
||||
(and (not path)
|
||||
(module-path-index-resolved from-mpi)
|
||||
(apply-syntax-shifts from-mpi (syntax-mpi-shifts s)))))
|
||||
(let ([mpi (apply-syntax-shifts from-mpi (syntax-mpi-shifts s))])
|
||||
(if source?
|
||||
(resolved-module-path-name (module-path-index-resolve mpi #f))
|
||||
mpi)))))
|
||||
|
||||
(define (identifier-prune-to-source-module id)
|
||||
(unless (identifier? id)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user