mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
implement literal %W %w %s
refactor string parsing
This commit is contained in:
committed by
Masaki Muranaka
parent
a4c30b93ac
commit
05e735595e
+1
-1
@@ -39,7 +39,7 @@ is_code_block_open(struct mrb_parser_state *parser)
|
||||
int code_block_open = FALSE;
|
||||
|
||||
/* check for unterminated string */
|
||||
if (parser->sterm) return TRUE;
|
||||
if (parser->lex_strterm) return TRUE;
|
||||
|
||||
/* check for heredoc */
|
||||
if (parser->heredoc_starts_nextline) return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user