diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-10-21 21:15:35 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-10-21 21:15:35 +0900 |
| commit | b41f1180c87086d5245661798e75748a847df695 (patch) | |
| tree | 4d23cfa8c6ec9a2c223e8d9807ffaa3d5ebf3736 /mrbgems/mruby-compiler/core | |
| parent | 68ba386213615459903721870cbe400990dc8311 (diff) | |
| download | mruby-b41f1180c87086d5245661798e75748a847df695.tar.gz mruby-b41f1180c87086d5245661798e75748a847df695.zip | |
fixed SEGV in mrb_parser_dump(NODE_COLON3)
Diffstat (limited to 'mrbgems/mruby-compiler/core')
| -rw-r--r-- | mrbgems/mruby-compiler/core/parse.y | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y index 2b0591769..4cd385d65 100644 --- a/mrbgems/mruby-compiler/core/parse.y +++ b/mrbgems/mruby-compiler/core/parse.y @@ -5984,9 +5984,7 @@ mrb_parser_dump(mrb_state *mrb, node *tree, int offset) break; case NODE_COLON3: - printf("NODE_COLON3:\n"); - dump_prefix(tree, offset+1); - printf("::%s\n", mrb_sym2name(mrb, sym(tree))); + printf("NODE_COLON3: ::%s\n", mrb_sym2name(mrb, sym(tree))); break; case NODE_ARRAY: |
