summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-03-18 06:56:26 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-03-18 06:56:26 -0700
commit138a3569a29521dc52951787cf09c5d9aac36741 (patch)
treeef9722b6a8666f895755b076c8a866065448337e /tools
parenta4c30b93acf931c49d79fb4b0c474dd66fbedcf4 (diff)
parent76c24894a7f859cc76b437a07030f2e2f277eab1 (diff)
downloadmruby-138a3569a29521dc52951787cf09c5d9aac36741.tar.gz
mruby-138a3569a29521dc52951787cf09c5d9aac36741.zip
Merge pull request #1025 from FUKUZAWA-Tadashi/master
implement %W %w %s
Diffstat (limited to 'tools')
-rw-r--r--tools/mirb/mirb.c2
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;