Changeset 1111


Ignore:
Timestamp:
Aug 6, 2003, 5:53:37 PM (17 years ago)
Author:
luba
Message:
  • uses type_int32
Location:
to-imperative/trunk/library/String
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/library/String/string_init.cc

    r1021 r1111  
    2222 
    2323    Term* p_Len = s_Len.get_first();
    24     rftype::ShortInt* Len = p_Len->cast_to<rftype::ShortInt>(type_short_int);
     24    rftype::Int32* Len = p_Len->cast_to<rftype::Int32>(type_int32);
    2525 
    2626    Term* p_Fill = s_Fill.get_first();
  • to-imperative/trunk/library/String/string_length.cc

    r1021 r1111  
    2020    rftype::String* str = p_String->cast_to<rftype::String>(type_string);
    2121    if (str) {
    22       s_Len = ShortInt::create_expr(str->get_length());
     22      s_Len = Int32::create_expr(str->get_length());
    2323    }
    2424    else
  • to-imperative/trunk/library/String/string_ref.cc

    r1021 r1111  
    2222
    2323    Term* p_Index = s_Index.get_first();
    24     rftype::ShortInt* Ind = p_Index->cast_to<rftype::ShortInt>(type_short_int);
     24    rftype::Int32* Ind = p_Index->cast_to<rftype::Int32>(type_int32);
    2525
    2626    if (str && Ind) {
  • to-imperative/trunk/library/String/string_set.cc

    r1021 r1111  
    2626
    2727    Term* p_Index = s_Index.get_first();
    28     rftype::ShortInt* Ind = p_Index->cast_to<rftype::ShortInt>(type_short_int);
     28    rftype::Int32* Ind = p_Index->cast_to<rftype::Int32>(type_int32);
    2929
    3030    Term* p_Char = s_Char.get_first();
  • to-imperative/trunk/library/String/substring.cc

    r1021 r1111  
    2121
    2222    Term* p_Index = s_Index.get_first();
    23     rftype::ShortInt* Ind = p_Index->cast_to<rftype::ShortInt>(type_short_int);
     23    rftype::Int32* Ind = p_Index->cast_to<rftype::Int32>(type_int32);
    2424   
    2525    Term* p_Len = s_Len.get_first();
    26     rftype::ShortInt* Len = p_Len->cast_to<rftype::ShortInt>(type_short_int);
     26    rftype::Int32* Len = p_Len->cast_to<rftype::Int32>(type_int32);
    2727   
    2828    if (str && Ind && Len) {
  • to-imperative/trunk/library/String/substring_fill.cc

    r1021 r1111  
    2222
    2323    Term* p_Index = s_Index.get_first();
    24     rftype::ShortInt* Ind = p_Index->cast_to<rftype::ShortInt>(type_short_int);
     24    rftype::Int32* Ind = p_Index->cast_to<rftype::Int32>(type_int32);
    2525   
    2626    Term* p_Len = s_Len.get_first();
    27     rftype::ShortInt* Len = p_Len->cast_to<rftype::ShortInt>(type_short_int);
     27    rftype::Int32* Len = p_Len->cast_to<rftype::Int32>(type_int32);
    2828
    2929    Term* p_Fill = s_Fill.get_first();
Note: See TracChangeset for help on using the changeset viewer.