summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-05-13 23:19:21 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-05-13 23:19:21 +0900
commit33b2975c9d00df93292865ff8491da6af36214a2 (patch)
tree73dd75815665e118e9dfe0c5f20c77d6b2883afc /src
parentc12f64271a7a76b5405f72fff65c52c254e72be4 (diff)
parentf2450928b2d098dd14f2ab339c5c6e247626efd4 (diff)
downloadmruby-33b2975c9d00df93292865ff8491da6af36214a2.tar.gz
mruby-33b2975c9d00df93292865ff8491da6af36214a2.zip
Merge pull request #2246 from take-cheeze/fix_codedump
Remove unnecessary newline in `OP_GETGLOBAL` codedump.
Diffstat (limited to 'src')
-rw-r--r--src/codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.c b/src/codegen.c
index 0347f8e7a..52ab9213b 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -2754,7 +2754,7 @@ codedump(mrb_state *mrb, mrb_irep *irep)
print_lv(mrb, irep, c, RA);
break;
case OP_GETGLOBAL:
- printf("OP_GETGLOBAL\tR%d\t:%s\n", GETARG_A(c),
+ printf("OP_GETGLOBAL\tR%d\t:%s", GETARG_A(c),
mrb_sym2name(mrb, irep->syms[GETARG_Bx(c)]));
print_lv(mrb, irep, c, RA);
break;