summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-15 22:12:54 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-15 22:12:54 -0500
commit6dc1cdead0566fdb05160d68b69749a13cc600cb (patch)
treebae7f6e38615219edd1617064d153d5c4c0bdaf3 /lisc
parent2cfccce68099b3037471d3c6c34e8e6dbc899409 (diff)
downloadroux-6dc1cdead0566fdb05160d68b69749a13cc600cb.tar.gz
always print RACall with 3 digits
Diffstat (limited to 'lisc')
-rw-r--r--lisc/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/parse.c b/lisc/parse.c
index 024eced..3de8e5e 100644
--- a/lisc/parse.c
+++ b/lisc/parse.c
@@ -881,7 +881,7 @@ printref(Ref r, Fn *fn, FILE *f)
 		fprintf(f, "S%d", r.val);
 		break;
 	case RACall:
-		fprintf(f, "%x", r.val & AMask);
+		fprintf(f, "%03x", r.val & AMask);
 		break;
 	case RAType:
 		fprintf(f, ":%s", typ[r.val & AMask].name);