symbol files: implemented accurate module dependency tracking
This commit is contained in:
parent
1d1ba4481f
commit
046ed4ed22
7 changed files with 105 additions and 22 deletions
|
|
@ -16,7 +16,9 @@ when not defined(nimSymbolfiles):
|
|||
template storeNode*(module: PSym; n: PNode) = discard
|
||||
template loadNode*(module: PSym; index: var int): PNode = PNode(nil)
|
||||
|
||||
template getModuleId*(fullpath: string): int = getID()
|
||||
template getModuleId*(fileIdx: int32; fullpath: string): int = getID()
|
||||
|
||||
template addModuleDep*(module, fileIdx: int32; isIncludeFile: bool) = discard
|
||||
|
||||
else:
|
||||
include rodimpl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue