Skip to content

Commit

Permalink
node_dump() to print NODE_HEREDOC terminator
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed Nov 11, 2016
1 parent 45aadd7 commit 185dad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrbgems/mruby-compiler/core/parse.y
Original file line number Diff line number Diff line change
Expand Up @@ -6506,7 +6506,7 @@ mrb_parser_dump(mrb_state *mrb, node *tree, int offset)
break;

case NODE_HEREDOC:
printf("NODE_HEREDOC:\n");
printf("NODE_HEREDOC (<<%s):\n", ((parser_heredoc_info*)tree)->term);
mrb_parser_dump(mrb, ((parser_heredoc_info*)tree)->doc, offset+1);
break;

Expand Down

0 comments on commit 185dad3

Please sign in to comment.