removed compiler internal list implementation (#5371)
This commit is contained in:
parent
2ba374f9ab
commit
92c2a51bf7
25 changed files with 125 additions and 227 deletions
|
|
@ -13,7 +13,7 @@ import strutils, os, parseopt
|
|||
import compiler/[options, commands, modules, sem,
|
||||
passes, passaux, nimfix/pretty,
|
||||
msgs, nimconf,
|
||||
extccomp, condsyms, lists,
|
||||
extccomp, condsyms,
|
||||
modulegraphs, idents]
|
||||
|
||||
const Usage = """
|
||||
|
|
@ -39,10 +39,10 @@ proc mainCommand =
|
|||
registerPass verbosePass
|
||||
registerPass semPass
|
||||
gCmd = cmdPretty
|
||||
appendStr(searchPaths, options.libpath)
|
||||
searchPaths.add options.libpath
|
||||
if gProjectFull.len != 0:
|
||||
# current path is always looked first for modules
|
||||
prependStr(searchPaths, gProjectPath)
|
||||
searchPaths.insert(gProjectPath, 0)
|
||||
|
||||
compileProject(newModuleGraph(), newIdentCache())
|
||||
pretty.overwriteFiles()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue