diff options
author | Araq <rumpf_a@web.de> | 2018-12-03 18:57:44 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-12-03 18:57:44 +0100 |
commit | f86b827d9e10f0178f1bb89d1c7df8c6b7b7eba0 (patch) | |
tree | 976bde9a69b44af2833cc45accf431095f84427f /compiler/rod.nim | |
parent | c74226f4c1d156f2124783ac4464a8473d79c651 (diff) | |
download | Nim-f86b827d9e10f0178f1bb89d1c7df8c6b7b7eba0.tar.gz |
IC: more things work
Diffstat (limited to 'compiler/rod.nim')
-rw-r--r-- | compiler/rod.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rod.nim b/compiler/rod.nim index 92489ffdd..bbd2f0c6c 100644 --- a/compiler/rod.nim +++ b/compiler/rod.nim @@ -16,7 +16,7 @@ when not nimIncremental: template storeNode*(g: ModuleGraph; module: PSym; n: PNode) = discard template loadNode*(g: ModuleGraph; module: PSym): PNode = newNode(nkStmtList) - template getModuleId*(g: ModuleGraph; fileIdx: FileIndex; fullpath: AbsoluteFile): int = getID() + proc loadModuleSym*(g: ModuleGraph; fileIdx: FileIndex; fullpath: AbsoluteFile): (PSym, int) {.inline.} = (nil, getID()) template addModuleDep*(g: ModuleGraph; module, fileIdx: FileIndex; isIncludeFile: bool) = discard |