shithub: mc

Download patch

ref: c4d04d5ed7a782baf87e5beea2a2d95e31bebc5b
parent: 35ae688b88cdb8952a456f0794af576773613907
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Oct 5 06:36:23 EDT 2015

Fix compilaton.

    We now return the error in the result. Let's use it.

--- a/lib/regex/redump.myr
+++ b/lib/regex/redump.myr
@@ -62,8 +62,8 @@
 			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
 		;;
 	;;