summary refs log tree commit diff stats
path: root/compiler/nim.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-11-05 01:19:23 +0100
committerAraq <rumpf_a@web.de>2016-11-06 17:33:33 +0100
commitbec9c4be27ad0f4a5d730ae1ac18f15667d8d9b1 (patch)
tree8dbf3dbb440118c9120993c4100a1fa3bf5c507b /compiler/nim.nim
parent5471b1eacad50a313133c93f68b3495948479bb3 (diff)
downloadNim-bec9c4be27ad0f4a5d730ae1ac18f15667d8d9b1.tar.gz
new dependency tracking for nimsuggest
Diffstat (limited to 'compiler/nim.nim')
-rw-r--r--compiler/nim.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/nim.nim b/compiler/nim.nim
index aeab9421e..f8d6b607a 100644
--- a/compiler/nim.nim
+++ b/compiler/nim.nim
@@ -14,14 +14,14 @@ when defined(gcc) and defined(windows):
     {.link: "icons/nim_icon.o".}
 
 when defined(amd64) and defined(windows) and defined(vcc):
-  {.link: "icons/nim-amd64-windows-vcc.res" .}
+  {.link: "icons/nim-amd64-windows-vcc.res".}
 when defined(i386) and defined(windows) and defined(vcc):
-  {.link: "icons/nim-i386-windows-vcc.res" .}
+  {.link: "icons/nim-i386-windows-vcc.res".}
 
 import
   commands, lexer, condsyms, options, msgs, nversion, nimconf, ropes,
   extccomp, strutils, os, osproc, platform, main, parseopt, service,
-  nodejs, scriptconfig, idents
+  nodejs, scriptconfig, idents, modulegraphs
 
 when hasTinyCBackend:
   import tccgen
@@ -73,7 +73,7 @@ proc handleCmdLine(cache: IdentCache) =
     processCmdLine(passCmd2, "")
     if options.command == "":
       rawMessage(errNoCommand, command)
-    mainCommand(cache)
+    mainCommand(newModuleGraph(), cache)
     if optHints in gOptions and hintGCStats in gNotes: echo(GC_getStatistics())
     #echo(GC_getStatistics())
     if msgs.gErrorCounter == 0: