diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-11-20 10:39:34 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-11-20 10:39:34 +0900 |
| commit | ec19c34a209e05156cdce8d317234bc62489148f (patch) | |
| tree | 8e6da8b2f739a7d506d0d8c8fda67b627364b415 /mrbgems/mruby-bin-mirb | |
| parent | f1eeaad84a1b1183c6e5128be0a4efeec6da5e8e (diff) | |
| download | mruby-ec19c34a209e05156cdce8d317234bc62489148f.tar.gz mruby-ec19c34a209e05156cdce8d317234bc62489148f.zip | |
Fixed a bug in `mirb` heredoc handling; fix #3989
Diffstat (limited to 'mrbgems/mruby-bin-mirb')
| -rw-r--r-- | mrbgems/mruby-bin-mirb/tools/mirb/mirb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c index 1880f22f7..19f533acd 100644 --- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c @@ -126,10 +126,6 @@ is_code_block_open(struct mrb_parser_state *parser) /* check for heredoc */ if (parser->parsing_heredoc != NULL) return TRUE; - if (parser->heredoc_end_now) { - parser->heredoc_end_now = FALSE; - return FALSE; - } /* check for unterminated string */ if (parser->lex_strterm) return TRUE; |
