Changeset 184 for trunk/thune/encoding.c

Show
Ignore:
Timestamp:
06/12/06 01:58:22 (3 years ago)
Author:
krobillard
Message:

Thune -

Word lookup now uses an ordered binary search.
Renamed ur_setType as ur_initType.
Some error reporting improvements in eval.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/encoding.c

    r171 r184  
    4444        } 
    4545 
    46         ur_setType(tos, UT_WORD); 
     46        ur_initType(tos, UT_WORD); 
    4747        ur_setUnbound(tos, atom); 
    4848    } 
    4949    else 
    5050    { 
    51         ur_setType(tos, UT_NONE); 
     51        ur_initType(tos, UT_NONE); 
    5252    } 
    5353} 
     
    153153set_result: 
    154154 
    155     ur_setType(res, UT_STRING); 
     155    ur_initType(res, UT_STRING); 
    156156    ur_setEncoding(res, enc); 
    157157    ur_setSeries(res, strN, 0);