summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-02 15:36:48 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-02 15:36:51 -0400
commitd1c348bf151500cadf5b694fa80f085f5555bc9e (patch)
treef4fadbc67e0a94a77f6dcfd95d6465b11c9e0452
parent30eced928c404caae41d62f238270f00bdf7c25b (diff)
downloadroux-d1c348bf151500cadf5b694fa80f085f5555bc9e.tar.gz
oops, stupid swap in a printf
-rw-r--r--minic/minic.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/minic/minic.y b/minic/minic.y
index 00351e1..85a5164 100644
--- a/minic/minic.y
+++ b/minic/minic.y
@@ -224,7 +224,7 @@ Scale:
 	if (irtyp(r->ctyp) != 'l')
 		sext(r);
 	sz = SIZE(DREF(l->ctyp));
-	fprintf(of, "\t%%t%d =l mul %d, ", sz, tmp);
+	fprintf(of, "\t%%t%d =l mul %d, ", tmp, sz);
 	psymb(*r);
 	fprintf(of, "\n");
 	r->u.n = tmp++;