diff options
author | Araq <rumpf_a@web.de> | 2016-09-25 08:51:30 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-09-28 23:39:56 +0200 |
commit | b8325181d171e30bba0ac394ab095fd3f81584e3 (patch) | |
tree | 421709d903611a1d05992e2c1a7d4401c66da249 /lib/impure | |
parent | d623b069b5d53d771554dfb3e771c08b7105465a (diff) | |
download | Nim-b8325181d171e30bba0ac394ab095fd3f81584e3.tar.gz |
EIO is called IOError now
Diffstat (limited to 'lib/impure')
-rw-r--r-- | lib/impure/re.nim | 2 |
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)) |