diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2014-08-02 09:35:51 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2014-08-02 09:35:51 +0200 |
commit | 6a6377123716b5a41222fbca29ba7515a8ab3976 (patch) | |
tree | ae8c2595d21e3668ba49654a7bf5705fa8b5d79c /tools | |
parent | b66444800a276332d866ce9f0847e748a85aed43 (diff) | |
parent | eada55fc78fbe43aa8eb756c992d4b40473f1c23 (diff) | |
download | Nim-6a6377123716b5a41222fbca29ba7515a8ab3976.tar.gz |
Merge pull request #1438 from def-/tools-compiling
Make nimrepl and trimcc tools compile
Diffstat (limited to 'tools')
-rw-r--r-- | tools/nimrepl.nim | 2 | ||||
-rw-r--r-- | tools/trimcc.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/nimrepl.nim b/tools/nimrepl.nim index 8e43b4431..4b6379bd5 100644 --- a/tools/nimrepl.nim +++ b/tools/nimrepl.nim @@ -24,7 +24,7 @@ proc execCode(code: string): string = f.close() result = osproc.execProcess( "$# $# --verbosity:0 --hint[Conf]:off temp.nim" % [nimExe, runCmd], - {poStdErrToStdOut}) + options = {poStdErrToStdOut}) else: result = "cannot open file 'temp.nim'" 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 |