shithub: mc

Download patch

ref: f18438a1128c1a0e881951e6997005cdc6255ccf
parent: bd900a61b081a832b4a9f105f030a0751e9bbce5
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Dec 17 11:22:54 EST 2013

Clean up debug prints a bit.

--- a/interp.myr
+++ b/interp.myr
@@ -58,12 +58,6 @@
 			elif !thr.matched
 				thr.next = re.expired
 				re.expired = thr
-			else
-				trace(re, thr, "Matched\n")
-				match re.matched
-				| `std.Some t:	std.put("HAVE MATCH\n")
-				| `std.None: std.put("WTFWTFWTF\n")
-				;;
 			;;
 		;;
 		re.runq = re.expired
@@ -169,7 +163,7 @@
 }
 
 const finish = {re, thr
-	trace(re, thr, "******finish**** %z\n", tid)
+	trace(re, thr, "finish %z\n", tid)
 	match re.matched
 	| `std.Some t:	thrfree(re, t)
 	| `std.None:
--