Back to index

glibc  2.9
dat_iswctype.c
Go to the documentation of this file.
00001 /*
00002  *  TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
00003  *
00004  *      FILE: dat_iswctype.c
00005  *
00006  *      ISWCTYPE:  int iswctype( wint_t wc, wctype_t charclass );
00007  */
00008 
00009 #include <errno.h>
00010 #include <stdlib.h>
00011 #include <wctype.h>
00012 #include "tst_types.h"
00013 #include "tgn_locdef.h"
00014 
00015 /*
00016  *  NOTE:
00017  *   Set ret_flg = 1, when a return value is expected to be 0 (FALSE).
00018  *   Set ret_flg = 0, when a return value is expected to be non-zero (TRUE).
00019  *
00020  *   Since the functions return *non*-zero value for TRUE, can't
00021  *   compare an actual return value with an expected return value.
00022  *   Set the ret_flg=0 for TRUE cases and the tst_isw*() will check
00023  *   the non-zero value.
00024  *
00025  * { { WEOF }, { 0,1,0 } },
00026  *               | |
00027  *               | ret_val: an expected return value
00028  *               ret_flg: if 1, compare an actual return value with the
00029  *                       ret_val; if 0, the test program checks
00030  *                       the actual return value.
00031  */
00032 
00033 TST_ISWCTYPE tst_iswctype_loc [] = {
00034   {
00035     { Tiswctype, TST_LOC_de },
00036     {
00037       {        { 0x009F, "alnum"  }, { 0,1,0 }  },         /* CTRL     */
00038       {        { 0x00A0, "alnum"  }, { 0,1,0 }  },         /* NB SPACE */
00039       {        { 0x00A1, "alnum"  }, { 0,1,0 }  },         /* UD !     */
00040       {        { 0x00B1, "alnum"  }, { 0,1,0 }  },         /* +- sign  */
00041       {        { 0x00B3, "alnum"  }, { 0,1,0 }  },         /* SUP 3    */
00042       {        { 0x00B4, "alnum"  }, { 0,1,0 }  },         /* ACUTE    */
00043       {        { 0x00BB, "alnum"  }, { 0,1,0 }  },         /* >>       */
00044       {        { 0x00BE, "alnum"  }, { 0,1,0 }  },         /* 3/4      */
00045       {        { 0x00BF, "alnum"  }, { 0,1,0 }  },         /* UD ?     */
00046       {        { 0x00C0, "alnum"  }, { 0,0,0 }  },         /* A Grave  */
00047       {        { 0x00D6, "alnum"  }, { 0,0,0 }  },         /* O dia    */
00048       {        { 0x00D7, "alnum"  }, { 0,1,0 }  },         /* multipl. */
00049       {        { 0x00D8, "alnum"  }, { 0,0,0 }  },         /* O stroke */
00050       {        { 0x00DF, "alnum"  }, { 0,0,0 }  },         /* small Sh */
00051       {        { 0x00E0, "alnum"  }, { 0,0,0 }  },         /* a grave  */
00052       {        { 0x00F6, "alnum"  }, { 0,0,0 }  },         /* o dia    */
00053       {        { 0x00F7, "alnum"  }, { 0,1,0 }  },         /* division */
00054       {        { 0x00F8, "alnum"  }, { 0,0,0 }  },         /* o stroke */
00055       {        { 0x00FF, "alnum"  }, { 0,0,0 }  },         /* y dia    */
00056       {        { 0x0080, "alpha"  }, { 0,1,0 }  },         /* CTRL     */
00057       {        { 0x00A0, "alpha"  }, { 0,1,0 }  },         /* NB SPACE */
00058       {        { 0x00A1, "alpha"  }, { 0,1,0 }  },         /* UD !     */
00059       {        { 0x00B1, "alpha"  }, { 0,1,0 }  },         /* +- sign  */
00060       {        { 0x00B4, "alpha"  }, { 0,1,0 }  },         /* ACUTE    */
00061       {        { 0x00B8, "alpha"  }, { 0,1,0 }  },         /* CEDILLA  */
00062       {        { 0x00B9, "alpha"  }, { 0,1,0 }  },         /* SUP 1    */
00063       {        { 0x00BB, "alpha"  }, { 0,1,0 }  },         /* >>       */
00064       {        { 0x00BE, "alpha"  }, { 0,1,0 }  },         /* 3/4      */
00065       {        { 0x00BF, "alpha"  }, { 0,1,0 }  },         /* UD ?     */
00066       {        { 0x00C0, "alpha"  }, { 0,0,0 }  },         /* A Grave  */
00067       {        { 0x00D6, "alpha"  }, { 0,0,0 }  },         /* O dia    */
00068       {        { 0x00D7, "alpha"  }, { 0,1,0 }  },         /* multipl. */
00069       {        { 0x00D8, "alpha"  }, { 0,0,0 }  },         /* O stroke */
00070       {        { 0x00DF, "alpha"  }, { 0,0,0 }  },         /* small Sh */
00071       {        { 0x00E0, "alpha"  }, { 0,0,0 }  },         /* a grave  */
00072       {        { 0x00F6, "alpha"  }, { 0,0,0 }  },         /* o dia    */
00073       {        { 0x00F7, "alpha"  }, { 0,1,0 }  },         /* division */
00074       {        { 0x00F8, "alpha"  }, { 0,0,0 }  },         /* o stroke */
00075       {        { 0x00FF, "alpha"  }, { 0,0,0 }  },         /* y dia    */
00076       {        { 0x0080, "cntrl"  }, { 0,0,0 }  },         /* CTRL     */
00077       {        { 0x009F, "cntrl"  }, { 0,0,0 }  },         /* CTRL     */
00078       {        { 0x00A0, "cntrl"  }, { 0,1,0 }  },         /* NB SPACE */
00079       {        { 0x00F6, "cntrl"  }, { 0,1,0 }  },         /* o dia    */
00080       {        { 0x00FF, "cntrl"  }, { 0,1,0 }  },         /* y dia    */
00081       {        { 0x00B9, "digit"  }, { 0,1,0 }  },         /* SUP 1    */
00082       {        { 0x00BE, "digit"  }, { 0,1,0 }  },         /* 3/4      */
00083       {        { 0x009F, "graph"  }, { 0,1,0 }  },         /* CTRL     */
00084 #ifdef SHOJI_IS_RIGHT
00085       {        { 0x00A0, "graph"  }, { 0,1,0 }  },         /* NB SPACE */
00086 #else
00087       {        { 0x00A0, "graph"  }, { 0,0,0 }  },         /* NB SPACE */
00088 #endif
00089       {        { 0x00A1, "graph"  }, { 0,0,0 }  },         /* UD !     */
00090       {        { 0x00B1, "graph"  }, { 0,0,0 }  },         /* +- sign  */
00091       {        { 0x00B3, "graph"  }, { 0,0,0 }  },         /* SUP 3    */
00092       {        { 0x00B4, "graph"  }, { 0,0,0 }  },         /* ACUTE    */
00093       {        { 0x00BB, "graph"  }, { 0,0,0 }  },         /* >>       */
00094       {        { 0x00BE, "graph"  }, { 0,0,0 }  },         /* 3/4      */
00095       {        { 0x00C0, "graph"  }, { 0,0,0 }  },         /* A Grave  */
00096       {        { 0x00D6, "graph"  }, { 0,0,0 }  },         /* O dia    */
00097       {        { 0x00D7, "graph"  }, { 0,0,0 }  },         /* multipl. */
00098       {        { 0x00D8, "graph"  }, { 0,0,0 }  },         /* O stroke */
00099       {        { 0x00DF, "graph"  }, { 0,0,0 }  },         /* small Sh */
00100       {        { 0x00F7, "graph"  }, { 0,0,0 }  },         /* division */
00101       {        { 0x00F8, "graph"  }, { 0,0,0 }  },         /* o stroke */
00102       {        { 0x00FF, "graph"  }, { 0,0,0 }  },         /* y dia    */
00103       {        { 0x009F, "print"  }, { 0,1,0 }  },         /* CTRL     */
00104 #ifdef SHOJI_IS_RIGHT
00105       {        { 0x00A0, "print"  }, { 0,1,0 }  },         /* NB SPACE */
00106 #else
00107       {        { 0x00A0, "print"  }, { 0,0,0 }  },         /* NB SPACE */
00108 #endif
00109       {        { 0x00A1, "print"  }, { 0,0,0 }  },         /* UD !     */
00110       {        { 0x00B1, "print"  }, { 0,0,0 }  },         /* +- sign  */
00111       {        { 0x00B4, "print"  }, { 0,0,0 }  },         /* ACUTE    */
00112       {        { 0x00B8, "print"  }, { 0,0,0 }  },         /* CEDILLA  */
00113       {        { 0x00B9, "print"  }, { 0,0,0 }  },         /* SUP 1    */
00114       {        { 0x00BB, "print"  }, { 0,0,0 }  },         /* >>       */
00115       {        { 0x00BE, "print"  }, { 0,0,0 }  },         /* 3/4      */
00116       {        { 0x00C0, "print"  }, { 0,0,0 }  },         /* A Grave  */
00117       {        { 0x00DF, "print"  }, { 0,0,0 }  },         /* small Sh */
00118       {        { 0x00F6, "print"  }, { 0,0,0 }  },         /* o dia    */
00119       {        { 0x00F7, "print"  }, { 0,0,0 }  },         /* division */
00120       {        { 0x00F8, "print"  }, { 0,0,0 }  },         /* o stroke */
00121       {        { 0x00FF, "print"  }, { 0,0,0 }  },         /* y dia    */
00122       {        { 0x009F, "punct"  }, { 0,1,0 }  },         /* CTRL     */
00123 #ifdef SHOJI_IS_RIGHT
00124       {        { 0x00A0, "punct"  }, { 0,1,0 }  },         /* NB SPACE */
00125 #else
00126       {        { 0x00A0, "punct"  }, { 0,0,0 }  },         /* NB SPACE */
00127 #endif
00128       {        { 0x00A1, "punct"  }, { 0,0,0 }  },         /* UD !     */
00129       {        { 0x00B0, "punct"  }, { 0,0,0 }  },         /* Degree   */
00130       {        { 0x00B1, "punct"  }, { 0,0,0 }  },         /* +- sign  */
00131       {        { 0x00B2, "punct"  }, { 0,0,0 }  },         /* SUP 2    */
00132       {        { 0x00B3, "punct"  }, { 0,0,0 }  },         /* SUP 3    */
00133       {        { 0x00B4, "punct"  }, { 0,0,0 }  },         /* ACUTE    */
00134       {        { 0x00B8, "punct"  }, { 0,0,0 }  },         /* CEDILLA  */
00135       {        { 0x00B9, "punct"  }, { 0,0,0 }  },         /* SUP 1    */
00136       {        { 0x00BB, "punct"  }, { 0,0,0 }  },         /* >>       */
00137       {        { 0x00BC, "punct"  }, { 0,0,0 }  },         /* 1/4      */
00138       {        { 0x00BD, "punct"  }, { 0,0,0 }  },         /* 1/2      */
00139       {        { 0x00BE, "punct"  }, { 0,0,0 }  },         /* 3/4      */
00140       {        { 0x00BF, "punct"  }, { 0,0,0 }  },         /* UD ?     */
00141       {        { 0x00C0, "punct"  }, { 0,1,0 }  },         /* A Grave  */
00142       {        { 0x00D7, "punct"  }, { 0,0,0 }  },         /* multipl. */
00143       {        { 0x00DF, "punct"  }, { 0,1,0 }  },         /* small Sh */
00144       {        { 0x00F6, "punct"  }, { 0,1,0 }  },         /* o dia    */
00145       {        { 0x00F7, "punct"  }, { 0,0,0 }  },         /* division */
00146       {        { 0x00FF, "punct"  }, { 0,1,0 }  },         /* y dia    */
00147       {        { 0x009F, "space"  }, { 0,1,0 }  },         /* CTRL     */
00148       {        { 0x00A0, "space"  }, { 0,1,0 }  },         /* NB SPACE */
00149       {        { 0x00A1, "space"  }, { 0,1,0 }  },         /* UD !     */
00150       {        { 0x00B1, "space"  }, { 0,1,0 }  },         /* +- sign  */
00151       {        { 0x00F8, "space"  }, { 0,1,0 }  },         /* o stroke */
00152       {        { 0x00B3, "lower"  }, { 0,1,0 }  },         /* SUP 3    */
00153       {        { 0x00B8, "lower"  }, { 0,1,0 }  },         /* CEDILLA  */
00154       {        { 0x00BE, "lower"  }, { 0,1,0 }  },         /* 3/4      */
00155       {        { 0x00C0, "lower"  }, { 0,1,0 }  },         /* A Grave  */
00156       {        { 0x00D6, "lower"  }, { 0,1,0 }  },         /* O dia    */
00157       {        { 0x00D8, "lower"  }, { 0,1,0 }  },         /* O stroke */
00158       {        { 0x00DF, "lower"  }, { 0,0,0 }  },         /* small Sh */
00159       {        { 0x00E0, "lower"  }, { 0,0,0 }  },         /* a grave  */
00160       {        { 0x00F6, "lower"  }, { 0,0,0 }  },         /* o dia    */
00161       {        { 0x00F7, "lower"  }, { 0,1,0 }  },         /* division */
00162       {        { 0x00F8, "lower"  }, { 0,0,0 }  },         /* o stroke */
00163       {        { 0x00FF, "lower"  }, { 0,0,0 }  },         /* y dia    */
00164       {        { 0x00B4, "upper"  }, { 0,1,0 }  },         /* ACUTE    */
00165       {        { 0x00B8, "upper"  }, { 0,1,0 }  },         /* CEDILLA  */
00166       {        { 0x00B9, "upper"  }, { 0,1,0 }  },         /* SUP 1    */
00167       {        { 0x00BE, "upper"  }, { 0,1,0 }  },         /* 3/4      */
00168       {        { 0x00BF, "upper"  }, { 0,1,0 }  },         /* UD ?     */
00169       {        { 0x00C0, "upper"  }, { 0,0,0 }  },         /* A Grave  */
00170       {        { 0x00D6, "upper"  }, { 0,0,0 }  },         /* O dia    */
00171       {        { 0x00D7, "upper"  }, { 0,1,0 }  },         /* multipl. */
00172       {        { 0x00D8, "upper"  }, { 0,0,0 }  },         /* O stroke */
00173       {        { 0x00DF, "upper"  }, { 0,1,0 }  },         /* small Sh */
00174       {        { 0x00FF, "upper"  }, { 0,1,0 }  },         /* y dia    */
00175       {        { 0x00B9, "xdigit" }, { 0,1,0 }  },         /* SUP 1    */
00176       {        { 0x00BC, "xdigit" }, { 0,1,0 }  },         /* 1/4      */
00177       { .is_last = 1 }
00178     }
00179   },
00180   {
00181     { Tiswctype, TST_LOC_enUS },
00182     {
00183       {        { WEOF,   "alnum"  }, { 0,1,0 }  },
00184       {        { 0x0000, "alnum"  }, { 0,1,0 }  },
00185       {        { 0x001F, "alnum"  }, { 0,1,0 }  },
00186       {        { 0x0020, "alnum"  }, { 0,1,0 }  },
00187       {        { 0x0021, "alnum"  }, { 0,1,0 }  },
00188       {        { 0x002F, "alnum"  }, { 0,1,0 }  },
00189       {        { 0x0030, "alnum"  }, { 0,0,0 }  },
00190       {        { 0x0039, "alnum"  }, { 0,0,0 }  },
00191       {        { 0x003A, "alnum"  }, { 0,1,0 }  },
00192       {        { 0x0040, "alnum"  }, { 0,1,0 }  },
00193       {        { 0x0041, "alnum"  }, { 0,0,0 }  },
00194       {        { 0x005A, "alnum"  }, { 0,0,0 }  },
00195       {        { 0x005B, "alnum"  }, { 0,1,0 }  },
00196       {        { 0x0060, "alnum"  }, { 0,1,0 }  },
00197       {        { 0x0061, "alnum"  }, { 0,0,0 }  },
00198       {        { 0x007A, "alnum"  }, { 0,0,0 }  },
00199       {        { 0x007B, "alnum"  }, { 0,1,0 }  },
00200       {        { 0x007E, "alnum"  }, { 0,1,0 }  },
00201       {        { 0x007F, "alnum"  }, { 0,1,0 }  },
00202       {        { 0x0080, "alnum"  }, { 0,1,0 }  },
00203       {        { 0x0000, "alpha"  }, { 0,1,0 }  },
00204       {        { 0x001F, "alpha"  }, { 0,1,0 }  },
00205       {        { 0x0020, "alpha"  }, { 0,1,0 }  },
00206       {        { 0x0021, "alpha"  }, { 0,1,0 }  },
00207       {        { 0x002F, "alpha"  }, { 0,1,0 }  },
00208       {        { 0x0030, "alpha"  }, { 0,1,0 }  },
00209       {        { 0x0039, "alpha"  }, { 0,1,0 }  },
00210       {        { 0x003A, "alpha"  }, { 0,1,0 }  },
00211       {        { 0x0040, "alpha"  }, { 0,1,0 }  },
00212       {        { 0x0041, "alpha"  }, { 0,0,0 }  },
00213       {        { 0x005A, "alpha"  }, { 0,0,0 }  },
00214       {        { 0x005B, "alpha"  }, { 0,1,0 }  },
00215       {        { 0x0060, "alpha"  }, { 0,1,0 }  },
00216       {        { 0x0061, "alpha"  }, { 0,0,0 }  },
00217       {        { 0x007A, "alpha"  }, { 0,0,0 }  },
00218       {        { 0x007B, "alpha"  }, { 0,1,0 }  },
00219       {        { 0x007E, "alpha"  }, { 0,1,0 }  },
00220       {        { 0x007F, "alpha"  }, { 0,1,0 }  },
00221       {        { 0x0080, "alpha"  }, { 0,1,0 }  },
00222       {        { 0x0009, "blank"  }, { 0,0,0 }  },
00223       {        { 0x000B, "blank"  }, { 0,1,0 }  },
00224       {        { 0x0020, "blank"  }, { 0,0,0 }  },
00225       {        { 0x0000, "cntrl"  }, { 0,0,0 }  },
00226       {        { 0x001F, "cntrl"  }, { 0,0,0 }  },
00227       {        { 0x0020, "cntrl"  }, { 0,1,0 }  },
00228       {        { 0x0021, "cntrl"  }, { 0,1,0 }  },
00229       {        { 0x002F, "cntrl"  }, { 0,1,0 }  },
00230       {        { 0x0030, "cntrl"  }, { 0,1,0 }  },
00231       {        { 0x0039, "cntrl"  }, { 0,1,0 }  },
00232       {        { 0x003A, "cntrl"  }, { 0,1,0 }  },
00233       {        { 0x0040, "cntrl"  }, { 0,1,0 }  },
00234       {        { 0x0041, "cntrl"  }, { 0,1,0 }  },
00235       {        { 0x005A, "cntrl"  }, { 0,1,0 }  },
00236       {        { 0x005B, "cntrl"  }, { 0,1,0 }  },
00237       {        { 0x0060, "cntrl"  }, { 0,1,0 }  },
00238       {        { 0x0061, "cntrl"  }, { 0,1,0 }  },
00239       {        { 0x007A, "cntrl"  }, { 0,1,0 }  },
00240       {        { 0x007B, "cntrl"  }, { 0,1,0 }  },
00241       {        { 0x007E, "cntrl"  }, { 0,1,0 }  },
00242       {        { 0x007F, "cntrl"  }, { 0,0,0 }  },
00243       {        { 0x0080, "cntrl"  }, { 0,0,0 }  },
00244       {        { 0x0000, "digit"  }, { 0,1,0 }  },
00245       {        { 0x001F, "digit"  }, { 0,1,0 }  },
00246       {        { 0x0020, "digit"  }, { 0,1,0 }  },
00247       {        { 0x0021, "digit"  }, { 0,1,0 }  },
00248       {        { 0x002F, "digit"  }, { 0,1,0 }  },
00249       {        { 0x0030, "digit"  }, { 0,0,0 }  },
00250       {        { 0x0039, "digit"  }, { 0,0,0 }  },
00251       {        { 0x003A, "digit"  }, { 0,1,0 }  },
00252       {        { 0x0040, "digit"  }, { 0,1,0 }  },
00253       {        { 0x0041, "digit"  }, { 0,1,0 }  },
00254       {        { 0x005A, "digit"  }, { 0,1,0 }  },
00255       {        { 0x005B, "digit"  }, { 0,1,0 }  },
00256       {        { 0x0060, "digit"  }, { 0,1,0 }  },
00257       {        { 0x0061, "digit"  }, { 0,1,0 }  },
00258       {        { 0x007A, "digit"  }, { 0,1,0 }  },
00259       {        { 0x007B, "digit"  }, { 0,1,0 }  },
00260       {        { 0x007E, "digit"  }, { 0,1,0 }  },
00261       {        { 0x007F, "digit"  }, { 0,1,0 }  },
00262       {        { 0x0080, "digit"  }, { 0,1,0 }  },
00263       {        { 0x0000, "graph"  }, { 0,1,0 }  },
00264       {        { 0x001F, "graph"  }, { 0,1,0 }  },
00265       {        { 0x0020, "graph"  }, { 0,1,0 }  },
00266       {        { 0x0021, "graph"  }, { 0,0,0 }  },
00267       {        { 0x002F, "graph"  }, { 0,0,0 }  },
00268       {        { 0x0030, "graph"  }, { 0,0,0 }  },
00269       {        { 0x0039, "graph"  }, { 0,0,0 }  },
00270       {        { 0x003A, "graph"  }, { 0,0,0 }  },
00271       {        { 0x0040, "graph"  }, { 0,0,0 }  },
00272       {        { 0x0041, "graph"  }, { 0,0,0 }  },
00273       {        { 0x005A, "graph"  }, { 0,0,0 }  },
00274       {        { 0x005B, "graph"  }, { 0,0,0 }  },
00275       {        { 0x0060, "graph"  }, { 0,0,0 }  },
00276       {        { 0x0061, "graph"  }, { 0,0,0 }  },
00277       {        { 0x007A, "graph"  }, { 0,0,0 }  },
00278       {        { 0x007B, "graph"  }, { 0,0,0 }  },
00279       {        { 0x007E, "graph"  }, { 0,0,0 }  },
00280       {        { 0x007F, "graph"  }, { 0,1,0 }  },
00281       {        { 0x0080, "graph"  }, { 0,1,0 }  },
00282       {        { 0x0000, "print"  }, { 0,1,0 }  },
00283       {        { 0x001F, "print"  }, { 0,1,0 }  },
00284       {        { 0x0020, "print"  }, { 0,0,0 }  },
00285       {        { 0x0021, "print"  }, { 0,0,0 }  },
00286       {        { 0x002F, "print"  }, { 0,0,0 }  },
00287       {        { 0x0030, "print"  }, { 0,0,0 }  },
00288       {        { 0x0039, "print"  }, { 0,0,0 }  },
00289       {        { 0x003A, "print"  }, { 0,0,0 }  },
00290       {        { 0x0040, "print"  }, { 0,0,0 }  },
00291       {        { 0x0041, "print"  }, { 0,0,0 }  },
00292       {        { 0x005A, "print"  }, { 0,0,0 }  },
00293       {        { 0x005B, "print"  }, { 0,0,0 }  },
00294       {        { 0x0060, "print"  }, { 0,0,0 }  },
00295       {        { 0x0061, "print"  }, { 0,0,0 }  },
00296       {        { 0x007A, "print"  }, { 0,0,0 }  },
00297       {        { 0x007B, "print"  }, { 0,0,0 }  },
00298       {        { 0x007E, "print"  }, { 0,0,0 }  },
00299       {        { 0x007F, "print"  }, { 0,1,0 }  },
00300       {        { 0x0080, "print"  }, { 0,1,0 }  },
00301       {        { 0x0000, "punct"  }, { 0,1,0 }  },
00302       {        { 0x001F, "punct"  }, { 0,1,0 }  },
00303       {        { 0x0020, "punct"  }, { 0,1,0 }  },
00304       {        { 0x0021, "punct"  }, { 0,0,0 }  },
00305       {        { 0x002F, "punct"  }, { 0,0,0 }  },
00306       {        { 0x0030, "punct"  }, { 0,1,0 }  },
00307       {        { 0x0039, "punct"  }, { 0,1,0 }  },
00308       {        { 0x003A, "punct"  }, { 0,0,0 }  },
00309       {        { 0x0040, "punct"  }, { 0,0,0 }  },
00310       {        { 0x0041, "punct"  }, { 0,1,0 }  },
00311       {        { 0x005A, "punct"  }, { 0,1,0 }  },
00312       {        { 0x005B, "punct"  }, { 0,0,0 }  },
00313       {        { 0x0060, "punct"  }, { 0,0,0 }  },
00314       {        { 0x0061, "punct"  }, { 0,1,0 }  },
00315       {        { 0x007A, "punct"  }, { 0,1,0 }  },
00316       {        { 0x007B, "punct"  }, { 0,0,0 }  },
00317       {        { 0x007E, "punct"  }, { 0,0,0 }  },
00318       {        { 0x007F, "punct"  }, { 0,1,0 }  },
00319       {        { 0x0080, "punct"  }, { 0,1,0 }  },
00320       {        { 0x0000, "space"  }, { 0,1,0 }  },
00321       {        { 0x001F, "space"  }, { 0,1,0 }  },
00322       {        { 0x0020, "space"  }, { 0,0,0 }  },
00323       {        { 0x0021, "space"  }, { 0,1,0 }  },
00324       {        { 0x002F, "space"  }, { 0,1,0 }  },
00325       {        { 0x007E, "space"  }, { 0,1,0 }  },
00326       {        { 0x007F, "space"  }, { 0,1,0 }  },
00327       {        { 0x0080, "space"  }, { 0,1,0 }  },
00328       {        { 0x0000, "lower"  }, { 0,1,0 }  },
00329       {        { 0x001F, "lower"  }, { 0,1,0 }  },
00330       {        { 0x0020, "lower"  }, { 0,1,0 }  },
00331       {        { 0x0021, "lower"  }, { 0,1,0 }  },
00332       {        { 0x002F, "lower"  }, { 0,1,0 }  },
00333       {        { 0x0030, "lower"  }, { 0,1,0 }  },
00334       {        { 0x0039, "lower"  }, { 0,1,0 }  },
00335       {        { 0x003A, "lower"  }, { 0,1,0 }  },
00336       {        { 0x0040, "lower"  }, { 0,1,0 }  },
00337       {        { 0x0041, "lower"  }, { 0,1,0 }  },
00338       {        { 0x005A, "lower"  }, { 0,1,0 }  },
00339       {        { 0x005B, "lower"  }, { 0,1,0 }  },
00340       {        { 0x0060, "lower"  }, { 0,1,0 }  },
00341       {        { 0x0061, "lower"  }, { 0,0,0 }  },
00342       {        { 0x007A, "lower"  }, { 0,0,0 }  },
00343       {        { 0x007B, "lower"  }, { 0,1,0 }  },
00344       {        { 0x007E, "lower"  }, { 0,1,0 }  },
00345       {        { 0x007F, "lower"  }, { 0,1,0 }  },
00346       {        { 0x0080, "lower"  }, { 0,1,0 }  },
00347       {        { 0x0000, "upper"  }, { 0,1,0 }  },
00348       {        { 0x001F, "upper"  }, { 0,1,0 }  },
00349       {        { 0x0020, "upper"  }, { 0,1,0 }  },
00350       {        { 0x0021, "upper"  }, { 0,1,0 }  },
00351       {        { 0x002F, "upper"  }, { 0,1,0 }  },
00352       {        { 0x0030, "upper"  }, { 0,1,0 }  },
00353       {        { 0x0039, "upper"  }, { 0,1,0 }  },
00354       {        { 0x003A, "upper"  }, { 0,1,0 }  },
00355       {        { 0x0040, "upper"  }, { 0,1,0 }  },
00356       {        { 0x0041, "upper"  }, { 0,0,0 }  },
00357       {        { 0x005A, "upper"  }, { 0,0,0 }  },
00358       {        { 0x005B, "upper"  }, { 0,1,0 }  },
00359       {        { 0x0060, "upper"  }, { 0,1,0 }  },
00360       {        { 0x0061, "upper"  }, { 0,1,0 }  },
00361       {        { 0x007A, "upper"  }, { 0,1,0 }  },
00362       {        { 0x007B, "upper"  }, { 0,1,0 }  },
00363       {        { 0x007E, "upper"  }, { 0,1,0 }  },
00364       {        { 0x007F, "upper"  }, { 0,1,0 }  },
00365       {        { 0x0080, "upper"  }, { 0,1,0 }  },
00366       {        { 0x0000, "xdigit" }, { 0,1,0 }  },
00367       {        { 0x001F, "xdigit" }, { 0,1,0 }  },
00368       {        { 0x0020, "xdigit" }, { 0,1,0 }  },
00369       {        { 0x0021, "xdigit" }, { 0,1,0 }  },
00370       {        { 0x002F, "xdigit" }, { 0,1,0 }  },
00371       {        { 0x0030, "xdigit" }, { 0,0,0 }  },
00372       {        { 0x0039, "xdigit" }, { 0,0,0 }  },
00373       {        { 0x003A, "xdigit" }, { 0,1,0 }  },
00374       {        { 0x0040, "xdigit" }, { 0,1,0 }  },
00375       {        { 0x0041, "xdigit" }, { 0,0,0 }  },
00376       {        { 0x005A, "xdigit" }, { 0,1,0 }  },
00377       {        { 0x005B, "xdigit" }, { 0,1,0 }  },
00378       {        { 0x0060, "xdigit" }, { 0,1,0 }  },
00379       {        { 0x0061, "xdigit" }, { 0,0,0 }  },
00380       {        { 0x007A, "xdigit" }, { 0,1,0 }  },
00381       {        { 0x007B, "xdigit" }, { 0,1,0 }  },
00382       {        { 0x007E, "xdigit" }, { 0,1,0 }  },
00383       {        { 0x007F, "xdigit" }, { 0,1,0 }  },
00384       {        { 0x0080, "xdigit" }, { 0,1,0 }  },
00385       {        { 0x0061, "xxxxxx" }, { 0,1,0 }  },
00386       { .is_last = 1 }
00387     }
00388   },
00389   {
00390     { Tiswctype, TST_LOC_eucJP },
00391     {
00392 #ifdef SHOJI_IS_RIGHT
00393       {        { 0x3029, "alnum"  }, { 0,1,0 }  },         /* Hangzhou NUM9   */
00394 #else
00395       {        { 0x3029, "alnum"  }, { 0,0,0 }  },         /* Hangzhou NUM9   */
00396 #endif
00397       {        { 0xFE4F, "alnum"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.   */
00398       {        { 0xFF19, "alnum"  }, { 0,0,0 }  },         /* FULL 9          */
00399       {        { 0xFF20, "alnum"  }, { 0,1,0 }  },         /* FULL @          */
00400       {        { 0xFF3A, "alnum"  }, { 0,0,0 }  },         /* FULL Z          */
00401       {        { 0xFF40, "alnum"  }, { 0,1,0 }  },         /* FULL GRAVE ACC.        */
00402       {        { 0xFF5A, "alnum"  }, { 0,0,0 }  },         /* FULL z          */
00403 #ifdef SHOJI_IS_RIGHT
00404       {        { 0xFF71, "alnum"  }, { 0,1,0 }  },         /* HALF KATA A     */
00405 #else
00406       {        { 0xFF71, "alnum"  }, { 0,0,0 }  },         /* HALF KATA A     */
00407 #endif
00408 #ifdef SHOJI_IS_RIGHT
00409       {        { 0x3029, "alpha"  }, { 0,1,0 }  },         /* Hangzhou NUM9   */
00410 #else
00411       {        { 0x3029, "alpha"  }, { 0,0,0 }  },         /* Hangzhou NUM9   */
00412 #endif
00413       {        { 0xFE4F, "alpha"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.   */
00414 #ifdef SHOJI_IS_RIGHT
00415       {        { 0xFF19, "alpha"  }, { 0,1,0 }  },         /* FULL 9          */
00416 #else
00417       {        { 0xFF19, "alpha"  }, { 0,0,0 }  },         /* FULL 9          */
00418 #endif
00419       {        { 0xFF20, "alpha"  }, { 0,1,0 }  },         /* FULL @          */
00420       {        { 0xFF3A, "alpha"  }, { 0,0,0 }  },         /* FULL Z          */
00421       {        { 0xFF40, "alpha"  }, { 0,1,0 }  },         /* FULL GRAVE ACC.        */
00422       {        { 0xFF5A, "alpha"  }, { 0,0,0 }  },         /* FULL z          */
00423 #ifdef SHOJI_IS_RIGHT
00424       {        { 0xFF71, "alpha"  }, { 0,1,0 }  },         /* HALF KATA A     */
00425 #else
00426       {        { 0xFF71, "alpha"  }, { 0,0,0 }  },         /* HALF KATA A     */
00427 #endif
00428       {        { 0x0080, "cntrl"  }, { 0,0,0 }  },         /* CNTRL           */
00429       {        { 0x3000, "cntrl"  }, { 0,1,0 }  },         /* IDEO. SPACE     */
00430       {        { 0x3029, "digit"  }, { 0,1,0 }  },         /* Hangzhou NUM9   */
00431       {        { 0x32CB, "digit"  }, { 0,1,0 }  },         /* IDEO.TEL.SYM.DEC12 */
00432       /* 21: */
00433       {        { 0x33FE, "digit"  }, { 0,1,0 }  },         /* CJK IDEO.TEL.31th      */
00434       {        { 0xFF19, "digit"  }, { 0,1,0 }  },         /* FULL 9          */
00435       {        { 0x3000, "graph"  }, { 0,1,0 }  },         /* IDEO. SPACE     */
00436 #ifdef SHOJI_IS_RIGHT
00437       {        { 0x3020, "graph"  }, { 0,1,0 }  },         /* POSTAL MARK FACE       */
00438       {        { 0x3029, "graph"  }, { 0,1,0 }  },         /* Hangzhou NUM9   */
00439       {        { 0x302F, "graph"  }, { 0,1,0 }  },         /* Diacritics(Hangul) */
00440       {        { 0x3037, "graph"  }, { 0,1,0 }  },         /* Separator Symbol       */
00441       {        { 0x303F, "graph"  }, { 0,1,0 }  },         /* IDEO. HALF SPACE       */
00442 #else
00443       {        { 0x3020, "graph"  }, { 0,0,0 }  },         /* POSTAL MARK FACE       */
00444       {        { 0x3029, "graph"  }, { 0,0,0 }  },         /* Hangzhou NUM9   */
00445       {        { 0x302F, "graph"  }, { 0,0,0 }  },         /* Diacritics(Hangul) */
00446       {        { 0x3037, "graph"  }, { 0,0,0 }  },         /* Separator Symbol       */
00447       {        { 0x303F, "graph"  }, { 0,0,0 }  },         /* IDEO. HALF SPACE       */
00448 #endif
00449       /* 29: */
00450       {        { 0x3041, "graph"  }, { 0,0,0 }  },         /* HIRAGANA a      */
00451       /* Non jis: */
00452 #ifdef SHOJI_IS_RIGHT
00453       {        { 0x3094, "graph"  }, { 0,1,0 }  },         /* HIRAGANA u"     */
00454 #else
00455       {        { 0x3094, "graph"  }, { 0,0,0 }  },         /* HIRAGANA u"     */
00456 #endif
00457       /* Non jis: */
00458 #ifdef SHOJI_IS_RIGHT
00459       {        { 0x3099, "graph"  }, { 0,1,0 }  },         /* SOUND MARK      */
00460 #else
00461       {        { 0x3099, "graph"  }, { 0,0,0 }  },         /* SOUND MARK      */
00462 #endif
00463       {        { 0x309E, "graph"  }, { 0,0,0 }  },         /* ITERATION MARK  */
00464       /* 33: */
00465       {        { 0x30A1, "graph"  }, { 0,0,0 }  },         /* KATAKANA a      */
00466       /* Non jis: */
00467 #ifdef SHOJI_IS_RIGHT
00468       {        { 0x30FA, "graph"  }, { 0,1,0 }  },         /* KATAKANA wo"    */
00469 #else
00470       {        { 0x30FA, "graph"  }, { 0,0,0 }  },         /* KATAKANA wo"    */
00471 #endif
00472       {        { 0x30FB, "graph"  }, { 0,0,0 }  },         /* KATAKANA MID.DOT       */
00473       {        { 0x30FE, "graph"  }, { 0,0,0 }  },         /* KATAKANA ITERATION */
00474 #ifdef SHOJI_IS_RIGHT
00475       {        { 0x3191, "graph"  }, { 0,1,0 }  },         /* KANBUN REV.MARK        */
00476       {        { 0x3243, "graph"  }, { 0,1,0 }  },         /* IDEO. MARK (reach) */
00477       {        { 0x32CB, "graph"  }, { 0,1,0 }  },         /* IDEO.TEL.SYM.DEC12 */
00478       {        { 0x32FE, "graph"  }, { 0,1,0 }  },         /* MARU KATAKANA wo       */
00479       {        { 0x33FE, "graph"  }, { 0,1,0 }  },         /* CJK IDEO.TEL.31th      */
00480 #else
00481       {        { 0x3191, "graph"  }, { 0,0,0 }  },         /* KANBUN REV.MARK        */
00482       {        { 0x3243, "graph"  }, { 0,0,0 }  },         /* IDEO. MARK (reach) */
00483       {        { 0x32CB, "graph"  }, { 0,0,0 }  },         /* IDEO.TEL.SYM.DEC12 */
00484       {        { 0x32FE, "graph"  }, { 0,0,0 }  },         /* MARU KATAKANA wo       */
00485       {        { 0x33FE, "graph"  }, { 0,0,0 }  },         /* CJK IDEO.TEL.31th      */
00486 #endif
00487       {        { 0x4E00, "graph"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00488       {        { 0x4E05, "graph"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00489 #ifdef SHOJI_IS_RIGHT
00490       {        { 0x4E06, "graph"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.NON-J */
00491 #else
00492       {        { 0x4E06, "graph"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.NON-J */
00493 #endif
00494       {        { 0x4E07, "graph"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00495       {        { 0x4FFF, "graph"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00496       {        { 0x9000, "graph"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00497       {        { 0x9006, "graph"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00498 #ifdef SHOJI_IS_RIGHT
00499       {        { 0x9007, "graph"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.NON-J */
00500       {        { 0x9FA4, "graph"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.NON-J */
00501 #else
00502       {        { 0x9007, "graph"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.NON-J */
00503       {        { 0x9FA4, "graph"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.NON-J */
00504 #endif
00505       /* 51 */
00506       {        { 0x9FA5, "graph"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00507       /* Non jis: */
00508 #ifdef SHOJI_IS_RIGHT
00509       {        { 0xFE4F, "graph"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.   */
00510 #else
00511       {        { 0xFE4F, "graph"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00512 #endif
00513       {        { 0xFF0F, "graph"  }, { 0,0,0 }  },         /* FULL SLASH      */
00514       {        { 0xFF19, "graph"  }, { 0,0,0 }  },         /* FULL 9          */
00515       {        { 0xFF20, "graph"  }, { 0,0,0 }  },         /* FULL @          */
00516       {        { 0xFF3A, "graph"  }, { 0,0,0 }  },         /* FULL Z          */
00517       {        { 0xFF40, "graph"  }, { 0,0,0 }  },         /* FULL GRAVE ACC.        */
00518       {        { 0xFF5A, "graph"  }, { 0,0,0 }  },         /* FULL z          */
00519       {        { 0xFF5E, "graph"  }, { 0,0,0 }  },         /* FULL ~ (tilde)  */
00520       {        { 0xFF61, "graph"  }, { 0,0,0 }  },         /* HALF IDEO.STOP. .      */
00521       {        { 0xFF65, "graph"  }, { 0,0,0 }  },         /* HALF KATA MID.DOT      */
00522       {        { 0xFF66, "graph"  }, { 0,0,0 }  },         /* HALF KATA WO    */
00523       {        { 0xFF6F, "graph"  }, { 0,0,0 }  },         /* HALF KATA tu    */
00524       {        { 0xFF70, "graph"  }, { 0,0,0 }  },         /* HALF KATA PL -  */
00525       {        { 0xFF71, "graph"  }, { 0,0,0 }  },         /* HALF KATA A     */
00526       {        { 0xFF9E, "graph"  }, { 0,0,0 }  },         /* HALF KATA MI    */
00527       {        { 0x3000, "print"  }, { 0,0,0 }  },         /* IDEO. SPACE     */
00528 #ifdef SHOJI_IS_RIGHT
00529       {        { 0x3020, "print"  }, { 0,1,0 }  },         /* POSTAL MARK FACE       */
00530       {        { 0x3029, "print"  }, { 0,1,0 }  },         /* Hangzhou NUM9   */
00531       {        { 0x302F, "print"  }, { 0,1,0 }  },         /* Diacritics(Hangul) */
00532       {        { 0x3037, "print"  }, { 0,1,0 }  },         /* Separator Symbol       */
00533 #else
00534       {        { 0x3020, "print"  }, { 0,0,0 }  },         /* POSTAL MARK FACE       */
00535       {        { 0x3029, "print"  }, { 0,0,0 }  },         /* Hangzhou NUM9   */
00536       {        { 0x302F, "print"  }, { 0,0,0 }  },         /* Diacritics(Hangul) */
00537       {        { 0x3037, "print"  }, { 0,0,0 }  },         /* Separator Symbol       */
00538 #endif
00539       {        { 0x4E00, "print"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00540       {        { 0x4E05, "print"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00541 #ifdef SHOJI_IS_RIGHT
00542       {        { 0x4E06, "print"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.NON-J */
00543 #else
00544       {        { 0x4E06, "print"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.NON-J */
00545 #endif
00546       {        { 0x4E07, "print"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00547       {        { 0x4FFF, "print"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00548       {        { 0x9000, "print"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00549       {        { 0x9006, "print"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00550 #ifdef SHOJI_IS_RIGHT
00551       {        { 0x9007, "print"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.NON-J */
00552       {        { 0x9FA4, "print"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.NON-J */
00553 #else
00554       {        { 0x9007, "print"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.NON-J */
00555       {        { 0x9FA4, "print"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.NON-J */
00556 #endif
00557       /* 81: */
00558       {        { 0x9FA5, "print"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00559       /* Non jis: */
00560 #ifdef SHOJI_IS_RIGHT
00561       {        { 0xFE4F, "print"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.   */
00562 #else
00563       {        { 0xFE4F, "print"  }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00564 #endif
00565       {        { 0x3000, "punct"  }, { 0,1,0 }  },         /* IDEO. SPACE     */
00566 #ifdef SHOJI_IS_RIGHT
00567       {        { 0x3020, "punct"  }, { 0,1,0 }  },         /* POSTAL MARK FACE       */
00568       {        { 0x302F, "punct"  }, { 0,1,0 }  },         /* Diacritics(Hangul) */
00569       {        { 0x3037, "punct"  }, { 0,1,0 }  },         /* FEED Separator  */
00570       {        { 0x303F, "punct"  }, { 0,1,0 }  },         /* IDEO. HALF SPACE       */
00571 #else
00572       {        { 0x3020, "punct"  }, { 0,0,0 }  },         /* POSTAL MARK FACE       */
00573       {        { 0x302F, "punct"  }, { 0,0,0 }  },         /* Diacritics(Hangul) */
00574       {        { 0x3037, "punct"  }, { 0,0,0 }  },         /* FEED Separator  */
00575       {        { 0x303F, "punct"  }, { 0,0,0 }  },         /* IDEO. HALF SPACE       */
00576 #endif
00577       {        { 0x3041, "punct"  }, { 0,1,0 }  },         /* HIRAGANA a      */
00578       {        { 0x3094, "punct"  }, { 0,1,0 }  },         /* HIRAGANA u"     */
00579       /* 90: */
00580 #ifdef SHOJI_IS_RIGHT
00581       {        { 0x3099, "punct"  }, { 0,1,0 }  },         /* SOUND MARK      */
00582 #else
00583       {        { 0x3099, "punct"  }, { 0,0,0 }  },         /* SOUND MARK      */
00584 #endif
00585       {        { 0x309E, "punct"  }, { 0,1,0 }  },         /* ITERATION MARK  */
00586       {        { 0x30A1, "punct"  }, { 0,1,0 }  },         /* KATAKANA a      */
00587       {        { 0x30FA, "punct"  }, { 0,1,0 }  },         /* KATAKANA wo"    */
00588       {        { 0x30FB, "punct"  }, { 0,0,0 }  },         /* KATAKANA MID.DOT       */
00589       /* 95: */
00590       {        { 0x30FE, "punct"  }, { 0,1,0 }  },         /* KATAKANA ITERATION */
00591 #ifdef SHOJI_IS_RIGHT
00592       {        { 0x3191, "punct"  }, { 0,1,0 }  },         /* KANBUN REV.MARK        */
00593       {        { 0x3243, "punct"  }, { 0,1,0 }  },         /* IDEO. MARK (reach) */
00594       {        { 0x32CB, "punct"  }, { 0,1,0 }  },         /* IDEO.TEL.SYM.DEC12 */
00595       {        { 0x32FE, "punct"  }, { 0,1,0 }  },         /* MARU KATAKANA wo       */
00596       {        { 0x33FE, "punct"  }, { 0,1,0 }  },         /* CJK IDEO.TEL.31th      */
00597 #else
00598       {        { 0x3191, "punct"  }, { 0,0,0 }  },         /* KANBUN REV.MARK        */
00599       {        { 0x3243, "punct"  }, { 0,0,0 }  },         /* IDEO. MARK (reach) */
00600       {        { 0x32CB, "punct"  }, { 0,0,0 }  },         /* IDEO.TEL.SYM.DEC12 */
00601       {        { 0x32FE, "punct"  }, { 0,0,0 }  },         /* MARU KATAKANA wo       */
00602       {        { 0x33FE, "punct"  }, { 0,0,0 }  },         /* CJK IDEO.TEL.31th      */
00603 #endif
00604       {        { 0x9007, "punct"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.NON-J */
00605       {        { 0x9FA4, "punct"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.NON-J */
00606       {        { 0x9FA5, "punct"  }, { 0,1,0 }  },         /* CJK UNI.IDEO.   */
00607       {        { 0xFF0F, "punct"  }, { 0,0,0 }  },         /* FULL SLASH      */
00608       /* 105: */
00609       {        { 0xFF19, "punct"  }, { 0,1,0 }  },         /* FULL 9          */
00610       {        { 0xFF20, "punct"  }, { 0,0,0 }  },         /* FULL @          */
00611       {        { 0xFF3A, "punct"  }, { 0,1,0 }  },         /* FULL Z          */
00612       {        { 0xFF40, "punct"  }, { 0,0,0 }  },         /* FULL GRAVE ACC.        */
00613       {        { 0xFF5A, "punct"  }, { 0,1,0 }  },         /* FULL z          */
00614       {        { 0xFF5E, "punct"  }, { 0,0,0 }  },         /* FULL ~ (tilde)  */
00615       {        { 0xFF61, "punct"  }, { 0,0,0 }  },         /* HALF IDEO.STOP. .      */
00616       {        { 0xFF65, "punct"  }, { 0,0,0 }  },         /* HALF KATA MID.DOT      */
00617       {        { 0xFF70, "punct"  }, { 0,1,0 }  },         /* HALF KATA PL -  */
00618       {        { 0xFF9E, "punct"  }, { 0,1,0 }  },         /* HALF KATA MI    */
00619       /* 115: */
00620       {        { 0x3000, "space"  }, { 0,0,0 }  },         /* IDEO. SPACE     */
00621       {        { 0x303F, "space"  }, { 0,1,0 }  },         /* IDEO. HALF SPACE       */
00622       {        { 0x3041, "lower"  }, { 0,1,0 }  },         /* HIRAGANA a      */
00623       {        { 0x3094, "lower"  }, { 0,1,0 }  },         /* HIRAGANA u"     */
00624       {        { 0x30A1, "lower"  }, { 0,1,0 }  },         /* KATAKANA a      */
00625       {        { 0x30FA, "lower"  }, { 0,1,0 }  },         /* KATAKANA wo"    */
00626       {        { 0xFF66, "lower"  }, { 0,1,0 }  },         /* HALF KATA WO    */
00627       {        { 0xFF6F, "lower"  }, { 0,1,0 }  },         /* HALF KATA tu    */
00628       {        { 0xFF70, "lower"  }, { 0,1,0 }  },         /* HALF KATA PL -  */
00629       /* 124: */
00630       {        { 0xFF71, "lower"  }, { 0,1,0 }  },         /* HALF KATA A     */
00631       {        { 0xFF9E, "lower"  }, { 0,1,0 }  },         /* HALF KATA MI    */
00632       {        { 0xFF71, "upper"  }, { 0,1,0 }  },         /* HALF KATA A     */
00633       {        { 0xFF19, "xdigit" }, { 0,1,0 }  },         /* FULL 9          */
00634       {        { 0x3000, "jspace" }, { 0,0,0 }  },         /* IDEO. SPACE     */
00635       /* Non jis? */
00636       {        { 0x303F, "jspace" }, { 0,1,0 }  },         /* IDEO.HALF SPACE        */
00637       {        { 0xFF19, "jdigit" }, { 0,0,0 }  },         /* FULL 9          */
00638       {        { 0x3041, "jhira"  }, { 0,0,0 }  },         /* HIRAGANA a      */
00639       {        { 0x3094, "jhira"  }, { 0,1,0 }  },         /* HIRAGANA u"     */
00640       {        { 0x30A1, "jkata"  }, { 0,0,0 }  },         /* KATAKANA a      */
00641       /* Non jis: */
00642       {        { 0x30FA, "jkata"  }, { 0,1,0 }  },         /* KATAKANA wo"    */
00643       {        { 0xFF66, "jkata"  }, { 0,0,0 }  },         /* HALF KATA WO    */
00644       {        { 0xFF6F, "jkata"  }, { 0,0,0 }  },         /* HALF KATA tu    */
00645       {        { 0x4E05, "jkanji" }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00646 #ifdef SHOJI_IS_RIGHT
00647       /* <NO_WAIVER>: */
00648       {        { 0x4E06, "jkanji" }, { 0,1,1 }  },         /* CJK UNI.IDEO.NON-J */
00649 #else
00650       /* XXX This character does not exist in EUC-JP.  */
00651       {        { 0x4E06, "jkanji" }, { 0,1,0 }  },         /* CJK UNI.IDEO.NON-J */
00652 #endif
00653       {        { 0x4E07, "jkanji" }, { 0,0,0 }  },         /* CJK UNI.IDEO.   */
00654       { .is_last = 1 }
00655     }
00656   },
00657   {
00658     { Tiswctype, TST_LOC_end }
00659   }
00660 };
00661 
00662 
00663 /* dat_isw-funcs.c */