Changeset 527 for trunk/thune/eval.c
- Timestamp:
- 05/26/08 17:22:18 (6 months ago)
- Files:
-
- 1 modified
-
trunk/thune/eval.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/eval.c
r516 r527 352 352 353 353 354 static void _appendTraceBlk( UThread* ut, UCellError* err, int n, intit )354 void ur_appendTraceT( UThread* ut, UCellError* err, UIndex blkN, UIndex it ) 355 355 { 356 356 if( err->traceBlk ) … … 361 361 blk = ur_blockPtr( err->traceBlk ); 362 362 cell = ur_appendCell( blk, UT_BLOCK ); 363 ur_setSeries( cell, n, it );363 ur_setSeries( cell, blkN, it ); 364 364 } 365 365 } … … 504 504 505 505 506 /** 507 Evaluate C string. 508 509 \param cmd String to evaluate. 510 \param len Length of cmd string. May be -1 if cmd is null terminated. 511 512 \return UR_EVAL_ code. 513 */ 506 514 int ur_evalCStr( UThread* ut, const char* cmd, int len ) 507 515 { … … 1617 1625 res->func.closureN = 0; 1618 1626 res->func.sigN = sigN; 1619 } 1620 UR_S_DROP; 1627 1628 UR_S_DROP; 1629 } 1630 else 1631 { 1632 ur_throwErr( UR_ERR_DATATYPE, "func expected two block! values" ); 1633 } 1621 1634 } 1622 1635
