Changeset 152 for trunk/thune/gc.c

Show
Ignore:
Timestamp:
05/14/06 02:10:45 (3 years ago)
Author:
krobillard
Message:

Thune -
'do now dispatches function!, call!, & code!
'as handles all word types.
'index? returns atom if TOS is a word.
Started implementing 'foreach.
true & false are now infused.
Fixed unitialized word.wordBlk and leak in ur_tokenize().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/gc.c

    r117 r152  
    217217            case UT_SETWORD: 
    218218            //case UT_LITWORD:      // Only atom is used in lit-words? 
    219                 SET_BIT_BLOCK( it->word.wordBlk ); 
     219                if( it->word.wordBlk ) 
     220                { 
     221                    SET_BIT_BLOCK( it->word.wordBlk ); 
     222                } 
    220223                SET_BIT_BLOCK( it->word.valBlk ); 
    221224                break; 
     
    401404 
    402405            case CC_ITER: 
     406            case CC_FOREACH: 
    403407                it -= CC_LEN_ITER; 
    404408                break;