diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-02-09 17:41:21 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-02-09 17:41:21 +0100 |
commit | 601dc2098df48838f044fa2e68d8227a164a0fc8 (patch) | |
tree | 6370a8a3d459c4ae78d4b2fa166f59a1a8f232eb | |
parent | 733ed91d3377aee2d436b60da6a4d78afa2f9bc5 (diff) | |
download | Nim-601dc2098df48838f044fa2e68d8227a164a0fc8.tar.gz |
added missing file
-rw-r--r-- | compiler/compilerlog.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler/compilerlog.nim b/compiler/compilerlog.nim new file mode 100644 index 000000000..fbf8cd9aa --- /dev/null +++ b/compiler/compilerlog.nim @@ -0,0 +1,9 @@ + +from os import getHomeDir, `/` + +proc logStr*(line: string) = + var f: File + if open(f, getHomeDir() / "nimsuggest.log", fmAppend): + f.writeLine(line) + f.close() + |