shithub: mc

Download patch

ref: e00ae763296851dd3f011884f4b70a0070877bce
parent: dacb00e50be93985b43ed2387797173ef40322a4
author: Ori Bernstein <[email protected]>
date: Tue Aug 12 15:39:06 EDT 2014

Remove workaround for compiler bug.

    idx used to conflict with something (damned if I remember what) and
    cause a compiler crash. It doesn't any more.

--- a/libstd/resolve.myr
+++ b/libstd/resolve.myr
@@ -115,7 +115,7 @@
 	for l in lines
 		/* trim comment */
 		match strfind(l, "#")
-		| `Some _idx:	l = l[:_idx]
+		| `Some idx:	l = l[:idx]
 		;;
 
 		match word(l)