fix runtime-require
duplicate path registration
This commit is contained in:
parent
61a78d00e9
commit
9afa50b459
|
@ -231,10 +231,12 @@
|
||||||
(raise-syntax-error #f "not a module path" stx #'mod-path))
|
(raise-syntax-error #f "not a module path" stx #'mod-path))
|
||||||
(if (hash-ref required-module-paths mp #f)
|
(if (hash-ref required-module-paths mp #f)
|
||||||
#'(begin)
|
#'(begin)
|
||||||
#'(begin-for-syntax
|
(begin
|
||||||
(register-ext-files
|
(hash-set! required-module-paths mp #t)
|
||||||
(#%variable-reference)
|
#'(begin-for-syntax
|
||||||
(list `(module mod-path ,(#%variable-reference)))))))]))
|
(register-ext-files
|
||||||
|
(#%variable-reference)
|
||||||
|
(list `(module mod-path ,(#%variable-reference))))))))]))
|
||||||
|
|
||||||
(define-syntax (runtime-paths stx)
|
(define-syntax (runtime-paths stx)
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user