summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-10-14 16:32:24 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-14 20:26:06 +0900
commit21e07d61138a87891dc780efaa28e6c76a39378f (patch)
treed6b553017bcb48f3db6336d7963ddc7a3a9d9325
parent5b40bb8d159c1432bb87973b2b5f42473dd0c623 (diff)
downloadmruby-21e07d61138a87891dc780efaa28e6c76a39378f.tar.gz
mruby-21e07d61138a87891dc780efaa28e6c76a39378f.zip
Add indent to `lv` in the C dump.
-rw-r--r--src/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dump.c b/src/dump.c
index db7d5ad0b..2bc1b0a53 100644
--- a/src/dump.c
+++ b/src/dump.c
@@ -1081,7 +1081,7 @@ dump_irep_struct(mrb_state *mrb, const mrb_irep *irep, uint8_t flags, FILE *fp,
fputs( "NULL,\n", fp);
}
if (irep->lv) {
- fprintf(fp, "%s_lv_%d,\n", name, n);
+ fprintf(fp, " %s_lv_%d,\n", name, n);
}
else {
fputs( " NULL,\t\t\t\t\t/* lv */\n", fp);