summary refs log tree commit diff stats
path: root/compiler/nimrod.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2014-07-29 19:34:11 +0200
committerAndreas Rumpf <rumpf_a@web.de>2014-07-29 19:34:11 +0200
commit4eccfb979eeabc18ac671ffd7d83348cd3aa2296 (patch)
treed0620b1ea2f027798e2ae28fb4d809448e981ab5 /compiler/nimrod.nim
parent9b63a338f38d6f3872c3224c46571739b9071c03 (diff)
parent1274953507deb1c1210a1e0f152950d5ffe5ad45 (diff)
downloadNim-4eccfb979eeabc18ac671ffd7d83348cd3aa2296.tar.gz
Merge pull request #1422 from def-/nimrod-run2
Allow arguments for "nimrod run"
Diffstat (limited to 'compiler/nimrod.nim')
-rw-r--r--compiler/nimrod.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim
index efe3d83bf..ea7621b09 100644
--- a/compiler/nimrod.nim
+++ b/compiler/nimrod.nim
@@ -58,7 +58,7 @@ proc handleCmdLine() =
     if msgs.gErrorCounter == 0:
       when hasTinyCBackend:
         if gCmd == cmdRun:
-          tccgen.run()
+          tccgen.run(service.arguments)
       if optRun in gGlobalOptions:
         if gCmd == cmdCompileToJS:
           var ex: string