shithub: mc

Download patch

ref: 9843a5b94825613f79356ece3c01918e439980fa
parent: 7806ff9381b9a54fc0fd25837bea5a8cc151c3b5
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)