summary refs log tree commit diff stats
path: root/compiler/main.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-28 00:04:55 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-28 00:04:55 +0200
commit006ee79a91905ea3516ed69cfa3c9fe5c55b35d3 (patch)
tree7cc5f214a50ad2bd09ff0c2fed6b7cb6be18da2e /compiler/main.nim
parent73799903eec8fce83ccd0dbf6520b29ae1049ecc (diff)
downloadNim-006ee79a91905ea3516ed69cfa3c9fe5c55b35d3.tar.gz
make dependency analyser free of global variables
Diffstat (limited to 'compiler/main.nim')
-rw-r--r--compiler/main.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main.nim b/compiler/main.nim
index 3b5370fa5..2489b1c50 100644
--- a/compiler/main.nim
+++ b/compiler/main.nim
@@ -48,7 +48,7 @@ proc commandGenDepend(graph: ModuleGraph; cache: IdentCache) =
   compileProject(graph, cache)
   let project = graph.config.projectFull
   writeDepsFile(graph, project)
-  generateDot(project)
+  generateDot(graph, project)
   execExternalProgram(graph.config, "dot -Tpng -o" & changeFileExt(project, "png") &
       ' ' & changeFileExt(project, "dot"))