shithub: mc

Download patch

ref: 560a2b7de036a9f21e0a86f8656ca9b4cd2be478
parent: 3fd57abe1eee9f9f021118f670ef862a4e904380
author: Ori Bernstein <[email protected]>
date: Sun Sep 7 12:06:11 EDT 2014

Comment unimplemented code.

    Now, it's an error.

--- a/interp.myr
+++ b/interp.myr
@@ -4,7 +4,11 @@
 
 pkg regex =
 	const exec	: (re : regex#, str : byte[:] -> std.option(byte[:][:]))
+	/*
+	FIXME: implement. This should scan for a possible start char in the
+		regex and use that to optimize.
 	const search	: (re : regex#, str : byte[:] -> std.option(byte[:][:]))
+	*/
 ;;
 
 /* Ugly: for performance. std.option() should be used instead when unions get faster. */