Changeset 427 for branches/thune/thread_safe/tokenize.c
- Timestamp:
- 07/07/07 04:41:31 (17 months ago)
- Files:
-
- 1 modified
-
branches/thune/thread_safe/tokenize.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/thune/thread_safe/tokenize.c
r426 r427 29 29 extern void ur_makeVec3( UCell* res, const char* spA, const char* spB ); 30 30 extern const char* ur_readBinary( UBinary*, const char* it, const char* end ); 31 32 extern void ur_bindDefault( UThread*, UIndex blkN ); 31 33 32 34 … … 299 301 \return Returns block index or zero if an error is thrown. 300 302 */ 301 UIndex ur_tokenize( UThread* ut, const char* it, const char* end, 302 void* tci ) 303 UIndex ur_tokenize( UThread* ut, const char* it, const char* end ) 303 304 { 304 305 UArray stack; … … 314 315 int macroNest = 0; 315 316 #endif 316 317 (void) tci;318 317 319 318 … … 441 440 UCell* otos; 442 441 UBlock* blk; 442 UIndex blkN; 443 443 444 444 otos = UR_TOS; 445 ur_infuseOpcodes( ut, STACK[ stack.used ] ); 446 tn = ur_eval( ut, STACK[ stack.used ], 0 ); 445 blkN = STACK[ stack.used ]; 446 447 ur_bindDefault( ut, blkN ); 448 ur_infuseOpcodes( ut, blkN ); 449 450 tn = ur_eval( ut, blkN, 0 ); 447 451 if( tn == UR_EVAL_ERROR ) 448 452 { … … 1035 1039 hold = STACK[0]; 1036 1040 ur_arrayFree( &stack ); 1041 1042 ur_bindDefault( ut, hold ); 1043 1037 1044 return hold; 1038 1045
