Changeset 262 for trunk/thune/eval.c

Show
Ignore:
Timestamp:
08/30/06 03:32:14 (2 years ago)
Author:
krobillard
Message:

Thune - Added if/keep. 'Case uses this so unhandled cases don't leave 'none on the stack.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/eval.c

    r260 r262  
    859859                            break; 
    860860 
     861                        case UR_ATOM_KEEP:  // (val -- [val]) 
     862                            UR_S_GROW; 
     863                            val = UR_TOS; 
     864                            if( ur_is(val, UT_NONE) || 
     865                                (ur_is(val, UT_LOGIC) && ! ur_logic(val)) ) 
     866                                goto if_skip; 
     867                            goto execute; 
     868 
    861869                        //case UR_ATOM_ZERO: 
    862870                        //    break;