refactoring: remove idents.legacy global variable and pass the IdentCache around explicitly
This commit is contained in:
parent
a325692fb2
commit
40ec7be45c
41 changed files with 338 additions and 353 deletions
|
|
@ -627,7 +627,7 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =
|
|||
extccomp.initVars(conf)
|
||||
processCmdLine(passCmd2, "", conf)
|
||||
|
||||
let graph = newModuleGraph(conf)
|
||||
let graph = newModuleGraph(cache, conf)
|
||||
graph.suggestMode = true
|
||||
mainCommand(graph, cache)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue