diff --git a/HISTORY b/HISTORY index e826af0..d7e3281 100755 --- a/HISTORY +++ b/HISTORY @@ -1,3 +1,6 @@ +Feb. 8 2017 +Fixed a processing bug with the ELSEIF statement + Feb. 3 2017 Added a replacement real number formatting function Added a replacement function of strtod on the wiki page, thanks to Paul Johnson for providing the code diff --git a/core/my_basic.c b/core/my_basic.c index 166ebb4..5756e79 100755 --- a/core/my_basic.c +++ b/core/my_basic.c @@ -13885,6 +13885,8 @@ _elseif: break; } + if(multi_line && ast && _IS_FUNC(ast->data, _core_elseif)) + break; result = _execute_statement(s, &ast, true); if(result != MB_FUNC_OK) goto _exit; diff --git a/output/my_basic.exe b/output/my_basic.exe index 410d7c6..f4bad76 100755 Binary files a/output/my_basic.exe and b/output/my_basic.exe differ