parent
32d5b80938
commit
77f836b403
1 changed files with 2 additions and 5 deletions
|
|
@ -159,11 +159,8 @@ proc runNimScript*(cache: IdentCache; scriptName: AbsoluteFile;
|
||||||
|
|
||||||
defineSymbol(conf.symbols, "nimscript")
|
defineSymbol(conf.symbols, "nimscript")
|
||||||
defineSymbol(conf.symbols, "nimconfig")
|
defineSymbol(conf.symbols, "nimconfig")
|
||||||
var registeredPasses {.global.} = false
|
|
||||||
if not registeredPasses:
|
|
||||||
registerPass(graph, semPass)
|
registerPass(graph, semPass)
|
||||||
registerPass(graph, evalPass)
|
registerPass(graph, evalPass)
|
||||||
registeredPasses = true
|
|
||||||
|
|
||||||
conf.searchPaths.add(conf.libpath)
|
conf.searchPaths.add(conf.libpath)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue