shithub: mc

Download patch

ref: b2a4bb910a7d0cee34dfd860896e75be5e1abf1d
parent: e74c5da9487abb0eafb1f5196847d057a9926d54
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Apr 4 22:47:20 EDT 2015

Print correct file in syntax errors.

--- a/main.myr
+++ b/main.myr
@@ -114,7 +114,7 @@
 
 	p = std.zalloc()
 	p.line = 1
-	p.fname = "cli"
+	p.fname = std.sldup(path)
 	p.gensrc = std.mkht(std.strhash, std.streq)
 	-> p
 }