refactoring: move DB model to incremental.nim
This commit is contained in:
parent
688c54d8f1
commit
ddc6cec69e
10 changed files with 410 additions and 163 deletions
|
|
@ -180,7 +180,7 @@ proc processModule*(graph: ModuleGraph; module: PSym, stream: PLLStream,
|
|||
var stmtIndex = 0
|
||||
var doContinue = true
|
||||
while doContinue:
|
||||
let n = loadNode(module, stmtIndex)
|
||||
let n = loadNode(graph, module, stmtIndex)
|
||||
if n == nil or graph.stopCompile(): break
|
||||
#if n.kind == nkImportStmt:
|
||||
# echo "yes and it's ", n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue