summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-09-15 01:46:37 -0400
committerOri Bernstein <ori@eigenstate.org>2014-09-15 01:46:37 -0400
commit865839fae29fa3dafc9c5bdab82ba97291fff30f (patch)
tree2887a92d06128b69c33d1f82b57b69bc23ea06b9
parentde3086badb9fadb7f1036f8bdad3aa5021453d21 (diff)
downloadlibregex-865839fae29fa3dafc9c5bdab82ba97291fff30f.tar.gz
Remove workaround for compiler bug.
-rw-r--r--compile.myr3
1 files changed, 1 insertions, 2 deletions
diff --git a/compile.myr b/compile.myr
index aa152be..e6d5aef 100644
--- a/compile.myr
+++ b/compile.myr
@@ -729,8 +729,7 @@ const merge = {rl
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]