Unverified Commit 4621907f authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4741 from shuujii/print-missing-colon-before-newline-in-mrb_parser_dump

Print missing `:` before newline in `mrb_parser_dump`
parents e55f881b a5d140ae
......@@ -6889,7 +6889,7 @@ mrb_parser_dump(mrb_state *mrb, node *tree, int offset)
break;
case NODE_NEGATE:
printf("NODE_NEGATE\n");
printf("NODE_NEGATE:\n");
mrb_parser_dump(mrb, tree, offset+1);
break;
......@@ -6898,7 +6898,7 @@ mrb_parser_dump(mrb_state *mrb, node *tree, int offset)
break;
case NODE_DSTR:
printf("NODE_DSTR\n");
printf("NODE_DSTR:\n");
dump_recur(mrb, tree, offset+1);
break;
......@@ -6907,7 +6907,7 @@ mrb_parser_dump(mrb_state *mrb, node *tree, int offset)
break;
case NODE_DXSTR:
printf("NODE_DXSTR\n");
printf("NODE_DXSTR:\n");
dump_recur(mrb, tree, offset+1);
break;
......@@ -6916,7 +6916,7 @@ mrb_parser_dump(mrb_state *mrb, node *tree, int offset)
break;
case NODE_DREGX:
printf("NODE_DREGX\n");
printf("NODE_DREGX:\n");
dump_recur(mrb, tree->car, offset+1);
dump_prefix(tree, offset);
printf("tail: %s\n", (char*)tree->cdr->cdr->car);
......@@ -7100,7 +7100,7 @@ mrb_parser_dump(mrb_state *mrb, node *tree, int offset)
break;
case NODE_KW_ARG:
printf("NODE_KW_ARG %s\n", mrb_sym_name(mrb, sym(tree->car)));
printf("NODE_KW_ARG %s:\n", mrb_sym_name(mrb, sym(tree->car)));
mrb_parser_dump(mrb, tree->cdr->car, offset + 1);
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment