*fixed a referencing bug with collection iteration in a FOR loop.

This commit is contained in:
Wang Renxin 2017-04-20 13:03:36 +08:00
parent 46c2874500
commit d72a974ce6
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
Apr. 20 2017
Fixed a referencing bug with collection iteration in a FOR loop
Apr. 8 2017
Renamed the PEEK statement to BACK

View File

@ -10546,6 +10546,7 @@ static int _execute_ranged_for_loop(mb_interpreter_t* s, _ls_node_t** l, _var_t*
break;
}
to_node = ast;
switch(range_ptr->type) { _REF_COLL(range_ptr) default: /* Do nothing */ break; }
_to:
ast = to_node;