summary refs log tree commit diff stats
path: root/tools/trimcc.nim
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2014-08-01 22:48:55 +0200
committerdef <dennis@felsin9.de>2014-08-01 22:48:55 +0200
commiteada55fc78fbe43aa8eb756c992d4b40473f1c23 (patch)
tree745e85073e61a4b3b412d6d7bbf1453ede4aa727 /tools/trimcc.nim
parent779f2b37aa5d99f07747a6c2dac9c56633a0f431 (diff)
downloadNim-eada55fc78fbe43aa8eb756c992d4b40473f1c23.tar.gz
Make nimrepl and trimcc tools compile
Diffstat (limited to 'tools/trimcc.nim')
-rw-r--r--tools/trimcc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/trimcc.nim b/tools/trimcc.nim
index 6271d2b9a..4d9686195 100644
--- a/tools/trimcc.nim
+++ b/tools/trimcc.nim
@@ -18,7 +18,7 @@ proc walker(dir: string) =
       else:

         echo "Required: ", path

         # copy back:

-        moveFile(dest=path, sourc=newName(path))

+        moveFile(dest=path, source=newName(path))

     of pcDir:

       walker(path)

     else: discard