Permalink
Browse files

node_dump() to print NODE_HEREDOC terminator

  • Loading branch information...
matz committed Nov 11, 2016
1 parent 45aadd7 commit 185dad3a6eaf24e106c515bb580807e2b41e1f66
Showing with 1 addition and 1 deletion.
  1. +1 −1 mrbgems/mruby-compiler/core/parse.y
@@ -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;

0 comments on commit 185dad3

Please sign in to comment.