diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-15 22:12:54 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-15 22:12:54 -0500 |
commit | 6dc1cdead0566fdb05160d68b69749a13cc600cb (patch) | |
tree | bae7f6e38615219edd1617064d153d5c4c0bdaf3 /lisc | |
parent | 2cfccce68099b3037471d3c6c34e8e6dbc899409 (diff) | |
download | roux-6dc1cdead0566fdb05160d68b69749a13cc600cb.tar.gz |
always print RACall with 3 digits
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/parse.c | 2 |
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); |