summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorrumpf_a@web.de <>2010-02-20 19:21:38 +0100
committerrumpf_a@web.de <>2010-02-20 19:21:38 +0100
commit6bc16904edd3738ab97573b9eeb3a6a7cce9574c (patch)
treea24577d18f693a0b5497ad78b54c4d20cb711fc6 /koch.nim
parent64da2f16813bbf03b8a2117d7c4abffd1adf525f (diff)
downloadNim-6bc16904edd3738ab97573b9eeb3a6a7cce9574c.tar.gz
bugfixes for unicode; xmlparser; htmlparser; scanner
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim
index e5d963b1e..bf07f3ba9 100644
--- a/koch.nim
+++ b/koch.nim
@@ -108,13 +108,13 @@ proc safeRemove(filename: string) =
 proc bootIteration(args: string): bool = 
   var nimrod1 = "rod" / "nimrod1".exe
   safeRemove(nimrod1)
-  moveFile(nimrod1, "rod" / "nimrod".exe)
+  moveFile(dest=nimrod1, source="rod" / "nimrod".exe)
   exec "rod" / "nimrod1 cc $# $# rod/nimrod.nim" % [bootOptions, args]
   # Nimrod does not produce an executable again if nothing changed. That's ok:
   result = sameFileContent("rod" / "nimrod".exe, nimrod1)
   safeRemove("bin" / "nimrod".exe)
   var dest = "bin" / "nimrod".exe
-  copyFile(dest, "rod" / "nimrod".exe)
+  copyFile(dest=dest, source="rod" / "nimrod".exe)
   inclFilePermissions(dest, {fpUserExec})
   safeRemove(nimrod1)
   if result: echo "executables are equal: SUCCESS!"