*fixed a bug with the END and RETURN statement with FOR loop.

This commit is contained in:
paladin-t 2016-02-25 10:16:59 +08:00
parent af913590f5
commit a157c2e67a
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,6 @@
Feb. 25 2016
Fixed a bug with the END and RETURN statement with FOR loop
Feb. 24 2016
Added a TO_ARRAY statement
Added support to apply the LEN statement to an array assigned from another
@ -23,13 +26,13 @@ Added a SYS statement to the shell
Fixed a wrong list linkage bug with list sorting
Feb. 16 2016
Fixed a bug of the EXIT statement with FOR loop
Fixed a bug with the EXIT statement with FOR loop
Feb. 15 2016
Fixed some compile issues with Xcode
Feb. 11 2016
Fixed a bug of the EXIT statement with multiple line IF statement
Fixed a bug with the EXIT statement with multiple line IF statement
Feb. 10 2016
Fixed a wrong loop bug with WHILE and DO statements

View File

@ -9239,6 +9239,8 @@ _to:
if(result == MB_LOOP_BREAK) {
result = MB_FUNC_OK;
goto _exit;
} else if(result != MB_FUNC_OK && result != MB_SUB_RETURN) {
goto _exit;
}
@ -9334,6 +9336,8 @@ _to:
if(result == MB_LOOP_BREAK) {
result = MB_FUNC_OK;
goto _exit;
} else if(result != MB_FUNC_OK && result != MB_SUB_RETURN) {
goto _exit;
}

Binary file not shown.