summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-10-05 10:36:23 -0700
committerOri Bernstein <ori@eigenstate.org>2015-10-05 10:36:23 -0700
commitc4d04d5ed7a782baf87e5beea2a2d95e31bebc5b (patch)
treeddd5f8b981c72f1e48cc41d1617ebbf88b4ab3bc
parent35ae688b88cdb8952a456f0794af576773613907 (diff)
downloadmc-c4d04d5ed7a782baf87e5beea2a2d95e31bebc5b.tar.gz
Fix compilaton.
We now return the error in the result. Let's use it.
-rw-r--r--lib/regex/redump.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/regex/redump.myr b/lib/regex/redump.myr
index 5c1e7bc..6dda007 100644
--- a/lib/regex/redump.myr
+++ b/lib/regex/redump.myr
@@ -62,8 +62,8 @@ const dump = {re, fd
std.slfree(ln)
| `bio.Eof:
break
- | `bio.Err:
- std.put("error reading from input")
+ | `bio.Err e:
+ std.put("error reading from input: {}", e)
break
;;
;;