*fixed a wrong processing bug when return in an IF statement chunk.

This commit is contained in:
Wang Renxin 2015-10-20 18:46:22 +08:00
parent 7bfa2c091b
commit 4da0f8b4ba

View File

@ -8487,7 +8487,9 @@ _elseif:
}
_exit:
if(result != MB_SUB_RETURN) {
if(result == MB_SUB_RETURN) {
ast = ast->prev;
} else {
if(multi_line)
result = _skip_to(s, &ast, _core_endif, _DT_NIL);
}