summary refs log tree commit diff stats
path: root/lib/impure
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-09-25 08:51:30 +0200
committerAraq <rumpf_a@web.de>2016-09-28 23:39:56 +0200
commitb8325181d171e30bba0ac394ab095fd3f81584e3 (patch)
tree421709d903611a1d05992e2c1a7d4401c66da249 /lib/impure
parentd623b069b5d53d771554dfb3e771c08b7105465a (diff)
downloadNim-b8325181d171e30bba0ac394ab095fd3f81584e3.tar.gz
EIO is called IOError now
Diffstat (limited to 'lib/impure')
-rw-r--r--lib/impure/re.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/re.nim b/lib/impure/re.nim
index bf397550a..bd86bcdcf 100644
--- a/lib/impure/re.nim
+++ b/lib/impure/re.nim
@@ -359,7 +359,7 @@ proc parallelReplace*(s: string, subs: openArray[
 proc transformFile*(infile, outfile: string,
                     subs: openArray[tuple[pattern: Regex, repl: string]]) =
   ## reads in the file `infile`, performs a parallel replacement (calls
-  ## `parallelReplace`) and writes back to `outfile`. Raises ``EIO`` if an
+  ## `parallelReplace`) and writes back to `outfile`. Raises ``IOError`` if an
   ## error occurs. This is supposed to be used for quick scripting.
   var x = readFile(infile).string
   writeFile(outfile, x.parallelReplace(subs))