Changeset 498 for trunk/thune/thune.c
- Timestamp:
- 11/14/07 17:18:50 (12 months ago)
- Files:
-
- 1 modified
-
trunk/thune/thune.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/thune.c
r497 r498 609 609 610 610 case OP_ITER: // (series blk -- ) 611 if( ur_is(UR_TOS, UT_BLOCK) ) 611 if( ur_is(UR_TOS, UT_BLOCK) && 612 (ur_itLen( ut, ur_s_prev(UR_TOS) ) > 0) ) 612 613 { 613 614 int skip = ur_sel(val); 614 615 if( skip == 0 ) 615 616 skip = 1; 616 if( skip > 0 )617 {618 if( ur_itLen( ut, ur_s_prev(UR_TOS) ) < 1 )619 goto no_iter;620 }621 else622 {623 if( ur_s_prev(UR_TOS)->series.it < 1 )624 goto no_iter;625 }626 617 PUSHC_EVAL( blkN, start, pc ); 627 618 SET_BLK_PC( UR_TOS->series.n, … … 634 625 else 635 626 { 636 no_iter:637 627 UR_S_DROPN(2); 638 628 }
