fixing namespacing issues
This commit is contained in:
parent
d8fd834442
commit
6a35aae56e
|
@ -174,12 +174,11 @@
|
||||||
[i (in-naturals)])
|
[i (in-naturals)])
|
||||||
(string-append
|
(string-append
|
||||||
(format "modrec.getNamespace().set(~s,exports[~s]);\n"
|
(format "modrec.getNamespace().set(~s,exports[~s]);\n"
|
||||||
(symbol->string (ModuleProvide-external-name modprovide))
|
(symbol->string (ModuleProvide-internal-name modprovide))
|
||||||
(symbol->string (ModuleProvide-internal-name modprovide)))
|
(symbol->string (ModuleProvide-external-name modprovide)))
|
||||||
;(format "modrec.prefix[~a]=exports[~s];\n"
|
(format "modrec.prefix[~a]=exports[~s];\n"
|
||||||
; i
|
i
|
||||||
; (symbol->string (ModuleProvide-external-name modprovide))))
|
(symbol->string (ModuleProvide-external-name modprovide)))))))
|
||||||
))))
|
|
||||||
|
|
||||||
(define (get-prefix-code bytecode)
|
(define (get-prefix-code bytecode)
|
||||||
(format "modrec.prefix=[~a];modrec.prefix.names=[~a];modrec.prefix.internalNames=[~a];"
|
(format "modrec.prefix=[~a];modrec.prefix.names=[~a];modrec.prefix.internalNames=[~a];"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user