summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-08-03 14:06:10 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:30 -0400
commitd586852552c23fd1dbf9437f43ffb34a154571c8 (patch)
treee52a71f5ccd94d97a83af0c253960f963375c7bc
parent6f2a7a245a8f752e1d6a6b950866e351737eac50 (diff)
downloadroux-d586852552c23fd1dbf9437f43ffb34a154571c8.tar.gz
print registers with numbers
-rw-r--r--lisc/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/parse.c b/lisc/parse.c
index fe82cd8..50e5d0a 100644
--- a/lisc/parse.c
+++ b/lisc/parse.c
@@ -550,7 +550,7 @@ printref(Ref r, Fn *fn, FILE *f)
 		fprintf(f, "$%d", r.val);
 		break;
 	case RReg:
-		fprintf(f, "???");
+		fprintf(f, "R%d", r.val);
 		break;
 	}
 	return "";