shithub: mc

Download patch

ref: 865839fae29fa3dafc9c5bdab82ba97291fff30f
parent: de3086badb9fadb7f1036f8bdad3aa5021453d21
author: Ori Bernstein <[email protected]>
date: Sun Sep 14 21:46:37 EDT 2014

Remove workaround for compiler bug.

--- a/compile.myr
+++ b/compile.myr
@@ -729,8 +729,7 @@
 	ret = [][:]
 	lo = rl[0][0]
 	hi = rl[0][1]
-	rl = rl[1:] /* BUG: compiler wants an rval in loop range */
-	for r in rl
+	for r in rl[1:]
 		/* if it overlaps or abuts, merge */
 		if r[0] <= hi + 1
 			hi = r[1]