Changeset 23424

Show
Ignore:
Timestamp:
09.12.2010 15:09:49 (9 years ago)
Author:
kjdon
Message:

adding in code point range for dhivehi letters into letter_info

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/indexers/mgpp/lib/unitool.cpp

    r16583 r23424  
    11981198 * GENERAL CATEGORY */ 
    11991199 
    1200 #define NUM_LETTER_INFO 276 
     1200#define NUM_LETTER_INFO 277 
    12011201static const unirange letter_info[NUM_LETTER_INFO] = { 
    12021202  {0x41,0x5a}, {0x61,0x7a}, {0xaa,0xaa}, {0xb5,0xb5},  
     
    12141214  {0x5d0,0x5ea}, {0x5f0,0x5f2}, {0x621,0x63a}, {0x640,0x652},  
    12151215  {0x670,0x6b7}, {0x6ba,0x6be}, {0x6c0,0x6ce}, {0x6d0,0x6d3},  
    1216   {0x6d5,0x6e8}, {0x6ea,0x6ed}, {0x901,0x903}, {0x905,0x939},  
     1216  {0x6d5,0x6e8}, {0x6ea,0x6ed}, {0x780,0x7b1}, {0x901,0x903}, {0x905,0x939},  
    12171217  {0x93c,0x94d}, {0x951,0x954}, {0x958,0x963}, {0x981,0x983},  
    12181218  {0x985,0x98c}, {0x98f,0x990}, {0x993,0x9a8}, {0x9aa,0x9b0},  
     
    15791579    return in_unirange(digit_info, NUM_DIGIT_INFO, value); 
    15801580  } 
    1581  
     1581   
    15821582  return (((unicode_cat_data[value/16] >> ((value%16)*2)) & 0x3) == 0x3); 
    15831583}