diff options
| author | FUKUZAWA-Tadashi <[email protected]> | 2013-03-12 21:54:17 +0900 |
|---|---|---|
| committer | FUKUZAWA-Tadashi <[email protected]> | 2013-03-17 21:27:37 +0900 |
| commit | 44fbfc51849e6bad4f7238ad2fd9724af331cea2 (patch) | |
| tree | 81a351041f22d32e2e819dd94a5789474d038a7d /tools/mirb | |
| parent | 7872bee70013ed0763942f6097ca0a61000fc92a (diff) | |
| download | mruby-44fbfc51849e6bad4f7238ad2fd9724af331cea2.tar.gz mruby-44fbfc51849e6bad4f7238ad2fd9724af331cea2.zip | |
implement literal %W %w %s
refactor string parsing
Diffstat (limited to 'tools/mirb')
| -rw-r--r-- | tools/mirb/mirb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mirb/mirb.c b/tools/mirb/mirb.c index 06ae16f5b..c771535c6 100644 --- a/tools/mirb/mirb.c +++ b/tools/mirb/mirb.c @@ -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; |
