summary refs log tree commit diff stats
path: root/compiler/rod.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rod.nim')
-rw-r--r--compiler/rod.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rod.nim b/compiler/rod.nim
index 23c816498..360466b8f 100644
--- a/compiler/rod.nim
+++ b/compiler/rod.nim
@@ -14,7 +14,7 @@ import ast, idgen
 when not defined(nimSymbolfiles):
   template setupModuleCache* = discard
   template storeNode*(module: PSym; n: PNode) = discard
-  template loadNode*(module: PSym; index: var int): PNode = discard
+  template loadNode*(module: PSym; index: var int): PNode = PNode(nil)
 
   template getModuleId*(fullpath: string): int = getID()