mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fix bugs on Heredocument
- heredoc in array literal - heredoc in args - heredoc in expression expand
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user