shithub: mc

Download patch

ref: 4874371bb240c4cfe5ba45daa190810814e067dc
parent: 42e662ac6c1f27e05479772398145d7aa25bf903
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Sep 29 21:40:23 EDT 2014

Zero out the parser.

    We were dealing with garbage memory.

--- a/main.myr
+++ b/main.myr
@@ -71,7 +71,7 @@
 const loadbuild =  {path
 	var p
 
-	p = std.alloc()
+	p = std.zalloc()
 	p.line = 1
 	p.fname = path
 	match std.slurp(path)