The R Project SVN R

Rev

Rev 69348 | Rev 79709 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 69348 Rev 69856
Line 1297... Line 1297...
1297
    {0x30000,0x3fffd,{2,2,2,2,2,2,2}}, // Tertiary Ideographic Plane
1297
    {0x30000,0x3fffd,{2,2,2,2,2,2,2}}, // Tertiary Ideographic Plane
1298
    {0xf0000,0xffffd,{1,1,1,1,2,1,1}}, // EA ambiguous
1298
    {0xf0000,0xffffd,{1,1,1,1,2,1,1}}, // EA ambiguous
1299
    {0x100000,0x10fffd,{1,1,1,1,2,1,1}}, // EA ambiguous
1299
    {0x100000,0x10fffd,{1,1,1,1,2,1,1}}, // EA ambiguous
1300
};
1300
};
1301
 
1301
 
-
 
1302
#if defined(__APPLE__) || defined(Win32) || defined(_AIX)
1302
/* ------------------- iswalpha -------------------- */
1303
/* ------------------- iswalpha -------------------- */
1303
static const struct interval table_walpha[] = {
1304
static const struct interval table_walpha[] = {
1304
    { 0x41, 0x5a },
1305
    { 0x41, 0x5a },
1305
    { 0x61, 0x7a },
1306
    { 0x61, 0x7a },
1306
    { 0xaa, 0xaa },
1307
    { 0xaa, 0xaa },
Line 3520... Line 3521...
3520
  { 0x41, 0x46 },
3521
  { 0x41, 0x46 },
3521
  { 0x61, 0x66 }
3522
  { 0x61, 0x66 }
3522
};
3523
};
3523
static const int table_wxdigit_count =
3524
static const int table_wxdigit_count =
3524
  (sizeof(table_wxdigit)/sizeof(struct interval));
3525
  (sizeof(table_wxdigit)/sizeof(struct interval));
3525
 
3526
#endif
3526
 
3527
 
3527
/* -------------------helper for wcwidth -------------------- */
3528
/* -------------------helper for wcwidth -------------------- */
3528
 
3529
 
3529
/* From http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
3530
/* From http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
3530
 *    - Non-spacing and enclosing combining characters (general
3531
 *    - Non-spacing and enclosing combining characters (general