new dependency tracking for nimsuggest
This commit is contained in:
parent
33ebf3e5fb
commit
9e6fb3f696
21 changed files with 284 additions and 393 deletions
|
|
@ -12,6 +12,8 @@
|
|||
import
|
||||
os, options, ast, astalgo, msgs, ropes, idents, passes, importer
|
||||
|
||||
from modulegraphs import ModuleGraph
|
||||
|
||||
proc generateDot*(project: string)
|
||||
|
||||
type
|
||||
|
|
@ -46,7 +48,7 @@ proc generateDot(project: string) =
|
|||
rope(changeFileExt(extractFilename(project), "")), gDotGraph],
|
||||
changeFileExt(project, "dot"))
|
||||
|
||||
proc myOpen(module: PSym; cache: IdentCache): PPassContext =
|
||||
proc myOpen(graph: ModuleGraph; module: PSym; cache: IdentCache): PPassContext =
|
||||
var g: PGen
|
||||
new(g)
|
||||
g.module = module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue