summary refs log tree commit diff stats
path: root/compiler/cgen.nim
diff options
context:
space:
mode:
authorLemonBoy <LemonBoy@users.noreply.github.com>2018-10-09 19:24:03 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-10-09 19:24:02 +0200
commitb97a7dbf3d1874b7dbf6b541ac57b27f8fbcd367 (patch)
treee702392e32574d09ed7f667985dcf8c42087e3c9 /compiler/cgen.nim
parent85187d4ba379b4c08f77feb032632aa47837016f (diff)
downloadNim-b97a7dbf3d1874b7dbf6b541ac57b27f8fbcd367.tar.gz
Make the registered passes local to the ModuleGraph (#9259)
Closes #9068
Diffstat (limited to 'compiler/cgen.nim')
-rw-r--r--compiler/cgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index 517e53947..250044601 100644
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -18,7 +18,7 @@ import
 
 import strutils except `%` # collides with ropes.`%`
 
-from modulegraphs import ModuleGraph
+from modulegraphs import ModuleGraph, PPassContext
 from lineinfos import
   warnGcMem, errXMustBeCompileTime, hintDependency, errGenerated, errCannotOpenFile
 import dynlib