*fixed a crash bug when a do-until statement is the end of a program.

This commit is contained in:
Wang Renxin 2016-01-11 11:54:31 +08:00
parent dd8deebda0
commit d692211deb
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,6 @@
Jan. 11 2016
Fixed a crash bug when a DO-UNTIL statement is the end of a program
Jan. 9 2016
Developing lambda, improved error handling
Developing lambda, fixed an issue with only a PRINT statement

View File

@ -11444,6 +11444,7 @@ _loop_begin:
if(loop_cond_ptr->data.integer) {
/* End looping */
if(ast)
_skip_to(s, &ast, 0, _DT_EOS);
goto _exit;