Show
Ignore:
Timestamp:
08/05/07 00:26:17 (16 months ago)
Author:
krobillard
Message:

Added ++/-- to replace word inc/dec.
Renamed UR_FLAG_EOL as UR_FLAG_SOL.
GL - Added 'sphere draw opcode and 'curve-value call.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/thune/thread_safe/eval.c

    r431 r442  
    13861386            if( wrdN > -1 ) 
    13871387            { 
    1388                 flags = it->id.flags & UR_FLAG_EOL; 
     1388                flags = it->id.flags & UR_FLAG_SOL; 
    13891389 
    13901390                ur_copyCell( it, values[ wrdN ] ); 
    13911391 
    1392                 it->id.flags = (it->id.flags & ~UR_FLAG_EOL) | flags; 
     1392                it->id.flags = (it->id.flags & ~UR_FLAG_SOL) | flags; 
    13931393            } 
    13941394        } 
     
    14041404                UCell* src; 
    14051405                int sel; 
    1406 #define ISEL_FLAGS   (UR_FLAG_EOL | UR_FLAG_SEL_ATOM) 
     1406#define ISEL_FLAGS   (UR_FLAG_SOL | UR_FLAG_SEL_ATOM) 
    14071407 
    14081408                src = values + wrdN; 
     
    14731473    while( it != end ) 
    14741474    { 
    1475         if( ur_is(it, UT_WORD) ) 
     1475        if( ur_is(it, UT_WORD) || ur_is(it, UT_OPCODE) ) 
    14761476        { 
    14771477            if( ur_atom(it) == UR_ATOM_DDASH ) 
     
    14961496    while( it != end ) 
    14971497    { 
    1498         if( ur_is(it, UT_WORD) ) 
     1498        if( ur_is(it, UT_WORD) || ur_is(it, UT_OPCODE) ) 
    14991499        { 
    15001500            if( ur_atom(it) == UR_ATOM_DDASH ) 
     
    16151615        { 
    16161616            cell = blk->ptr.cells + tos->series.it; 
    1617             cell->id.flags |= UR_FLAG_EOL; 
     1617            cell->id.flags |= UR_FLAG_SOL; 
    16181618        } 
    16191619    } 
     
    16281628            { 
    16291629                cell = blk->ptr.cells + tos->series.it; 
    1630                 cell->id.flags |= UR_FLAG_BLOCK_EOL; 
     1630                cell->id.flags |= UR_FLAG_BLOCK_SOL; 
    16311631            } 
    16321632            UR_S_DROP;