diff options
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 1b5331ba7..f9208f5dc 100644 --- a/compiler/rod.nim +++ b/compiler/rod.nim @@ -14,7 +14,7 @@ import ast, idgen, lineinfos, msgs, incremental, modulegraphs when not nimIncremental: template setupModuleCache*(g: ModuleGraph) = discard template storeNode*(g: ModuleGraph; module: PSym; n: PNode) = discard - template loadNode*(g: ModuleGraph; module: PSym; index: var int): PNode = PNode(nil) + template loadNode*(g: ModuleGraph; module: PSym): PNode = newNode(nkStmtList) template getModuleId*(g: ModuleGraph; fileIdx: FileIndex; fullpath: string): int = getID() |