summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-12-04 23:42:57 +0100
committerAndreas Rumpf <rumpf_a@web.de>2015-12-04 23:43:03 +0100
commit5c0ffa661347300c333096d22e056df4e07b08ca (patch)
treed7264b946cb0431fa90f26fdb60214b216333642
parent6f09282352341d750332592fa06988102992a276 (diff)
downloadNim-5c0ffa661347300c333096d22e056df4e07b08ca.tar.gz
fixes #3622
-rw-r--r--compiler/plugins/itersgen.nim6
-rw-r--r--compiler/plugins/locals/locals.nim4
-rw-r--r--compiler/pluginsupport.nim (renamed from compiler/plugins.nim)0
-rw-r--r--compiler/sem.nim3
4 files changed, 7 insertions, 6 deletions
diff --git a/compiler/plugins/itersgen.nim b/compiler/plugins/itersgen.nim
index 91e1d2783..f44735b77 100644
--- a/compiler/plugins/itersgen.nim
+++ b/compiler/plugins/itersgen.nim
@@ -9,8 +9,10 @@
 
 ## Plugin to transform an inline iterator into a data structure.
 
-import plugins, ast, astalgo, magicsys, lookups, semdata,
-  lambdalifting, msgs, rodread
+import compiler/pluginsupport, compiler/ast, compiler/astalgo,
+  compiler/magicsys, compiler/lookups, compiler/semdata,
+  compiler/lambdalifting, compiler/rodread, compiler/msgs
+
 
 proc iterToProcImpl(c: PContext, n: PNode): PNode =
   result = newNodeI(nkStmtList, n.info)
diff --git a/compiler/plugins/locals/locals.nim b/compiler/plugins/locals/locals.nim
index 59e3d677d..8a3f67dd4 100644
--- a/compiler/plugins/locals/locals.nim
+++ b/compiler/plugins/locals/locals.nim
@@ -9,8 +9,8 @@
 
 ## The builtin 'system.locals' implemented as a plugin.
 
-import compiler/plugins, compiler/ast, compiler/astalgo, compiler/magicsys,
-  compiler/lookups, compiler/semdata, compiler/lowerings
+import compiler/pluginsupport, compiler/ast, compiler/astalgo,
+  compiler/magicsys, compiler/lookups, compiler/semdata, compiler/lowerings
 
 proc semLocals(c: PContext, n: PNode): PNode =
   var counter = 0
diff --git a/compiler/plugins.nim b/compiler/pluginsupport.nim
index 19a0bc84d..19a0bc84d 100644
--- a/compiler/plugins.nim
+++ b/compiler/pluginsupport.nim
diff --git a/compiler/sem.nim b/compiler/sem.nim
index c6db6fbd3..f6078830b 100644
--- a/compiler/sem.nim
+++ b/compiler/sem.nim
@@ -16,7 +16,7 @@ import
   procfind, lookups, rodread, pragmas, passes, semdata, semtypinst, sigmatch,
   intsets, transf, vmdef, vm, idgen, aliases, cgmeth, lambdalifting,
   evaltempl, patterns, parampatterns, sempass2, nimfix.pretty, semmacrosanity,
-  semparallel, lowerings, plugins, plugins.active
+  semparallel, lowerings, pluginsupport, plugins.active
 
 when defined(nimfix):
   import nimfix.prettybase
@@ -485,4 +485,3 @@ proc myClose(context: PPassContext, n: PNode): PNode =
   popProcCon(c)
 
 const semPass* = makePass(myOpen, myOpenCached, myProcess, myClose)
-