From bec9c4be27ad0f4a5d730ae1ac18f15667d8d9b1 Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 5 Nov 2016 01:19:23 +0100 Subject: new dependency tracking for nimsuggest --- compiler/nim.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'compiler/nim.nim') 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: -- cgit 1.4.1-2-gfad0