mrubyを超漢字で動作させる
Revisão | b41f1180c87086d5245661798e75748a847df695 (tree) |
---|---|
Hora | 2015-10-21 21:15:35 |
Autor | Yukihiro "Matz" Matsumoto <matz@ruby...> |
Commiter | Yukihiro "Matz" Matsumoto |
fixed SEGV in mrb_parser_dump(NODE_COLON3)
@@ -5984,9 +5984,7 @@ mrb_parser_dump(mrb_state *mrb, node *tree, int offset) | ||
5984 | 5984 | break; |
5985 | 5985 | |
5986 | 5986 | case NODE_COLON3: |
5987 | - printf("NODE_COLON3:\n"); | |
5988 | - dump_prefix(tree, offset+1); | |
5989 | - printf("::%s\n", mrb_sym2name(mrb, sym(tree))); | |
5987 | + printf("NODE_COLON3: ::%s\n", mrb_sym2name(mrb, sym(tree))); | |
5990 | 5988 | break; |
5991 | 5989 | |
5992 | 5990 | case NODE_ARRAY: |