shithub: mc

Download patch

ref: f09d58f381dee6f9f9cdea78a10651e3796e9831
parent: b85b0202f856095d12a293961367f2e5cb93e16d
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Jun 16 18:31:49 EDT 2015

Fix fmt.myr

    Lots of unsigned were using the wrong value.

--- a/libstd/fmt.myr
+++ b/libstd/fmt.myr
@@ -236,19 +236,19 @@
 		ub_val = vanext(ap)
 		intfmt(sb, intparams(params), false, ub_val)
 	| `Tyuint16:
-		w_val = vanext(ap)
+		uw_val = vanext(ap)
 		intfmt(sb, intparams(params), false, uw_val)
 	| `Tyuint:
-		i_val = vanext(ap)
+		ui_val = vanext(ap)
 		intfmt(sb, intparams(params), false, ui_val)
 	| `Tyuint32:
-		i_val = vanext(ap)
+		ui_val = vanext(ap)
 		intfmt(sb, intparams(params), false, ui_val)
 	| `Tyuint64:
-		l_val = vanext(ap)
+		ul_val = vanext(ap)
 		intfmt(sb, intparams(params), false, ul_val)
 	| `Tyulong:
-		l_val = vanext(ap)
+		ul_val = vanext(ap)
 		intfmt(sb, intparams(params), false, ul_val)
 	| `Tyflt32:
 		f32_val = vanext(ap)