From 8d34e00102a6ba39b57960e653b0d7b6b3428006 Mon Sep 17 00:00:00 2001 From: FUKUZAWA-Tadashi Date: Sat, 14 Sep 2013 01:00:19 +0900 Subject: fix bugs on Heredocument - heredoc in array literal - heredoc in args - heredoc in expression expand --- include/mruby/compile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/mruby/compile.h b/include/mruby/compile.h index f8bb50e41..36cb67186 100644 --- a/include/mruby/compile.h +++ b/include/mruby/compile.h @@ -128,9 +128,10 @@ struct mrb_parser_state { char buf[MRB_PARSER_BUF_SIZE]; int bidx; - mrb_ast_node *heredocs; /* list of mrb_parser_heredoc_info* */ + mrb_ast_node *all_heredocs; /* list of mrb_parser_heredoc_info* */ + mrb_ast_node *heredocs_from_nextline; mrb_ast_node *parsing_heredoc; - mrb_bool heredoc_starts_nextline:1; + mrb_ast_node *lex_strterm_before_heredoc; mrb_bool heredoc_end_now:1; /* for mirb */ void *ylval; -- cgit v1.2.3