Changeset 323 for trunk/thune/make.c

Show
Ignore:
Timestamp:
12/26/06 22:10:34 (2 years ago)
Author:
krobillard
Message:

Rune is now stand-alone.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/make.c

    r314 r323  
    12501250    { 
    12511251        case UT_OPCODE: 
     1252#ifdef LANG_RUNE 
     1253            if( ur_is(tos, UT_BLOCK) ) 
     1254            { 
     1255                UBlock* blk; 
     1256                UCell* it; 
     1257                UCell* end; 
     1258 
     1259                ur_initType( res, UT_OPCODE ); 
     1260                ur_atom(res)   = 0; 
     1261                ur_opcode(res) = 0; 
     1262                ur_sel(res)    = 0; 
     1263 
     1264                blk = ur_block(tos); 
     1265                UR_ITER_BLOCK( it, end, blk, tos ); 
     1266                while( it != end ) 
     1267                { 
     1268                    if( ur_isAWord(it) ) 
     1269                        ur_atom(res) = ur_atom(it); 
     1270                    else if( ur_is(it, UT_INT) ) 
     1271                        ur_opcode(res) = ur_int(it); 
     1272                    ++it; 
     1273                } 
     1274            } 
     1275#else 
    12521276            if( (ur_isAWord(tos) || ur_is(tos, UT_OPCODE)) 
    12531277                && ur_is(ur_s_prev(tos), UT_INT) ) 
     
    12581282                ur_sel(res)    = 0; 
    12591283            } 
     1284#endif 
    12601285            break; 
    12611286