mirb should detect end of expression smarter

This commit is contained in:
Yukihiro Matsumoto
2012-05-19 16:15:11 +09:00
parent aeca23166b
commit 6f6c270bb1
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -4630,6 +4630,11 @@ mrb_parser_parse(parser_state *p)
p->tree = p->begin_tree = 0;
return;
}
p->cmd_start = TRUE;
p->in_def = p->in_single = FALSE;
p->nerr = p->nwarn = 0;
yyparse(p);
tree = p->tree;
if (!tree) {