summary refs log tree commit diff stats
path: root/compiler/vmdef.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/vmdef.nim')
-rw-r--r--compiler/vmdef.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/vmdef.nim b/compiler/vmdef.nim
index 9228ce5eb..59ffe9581 100644
--- a/compiler/vmdef.nim
+++ b/compiler/vmdef.nim
@@ -262,6 +262,7 @@ type
     graph*: ModuleGraph
     oldErrorCount*: int
     profiler*: Profiler
+    templInstCounter*: ref int # gives every template instantiation a unique ID, needed here for getAst
 
   PStackFrame* = ref TStackFrame
   TStackFrame* = object