Do you regard sizeof (int) as 32-bit ?
If CHARCLASS_INTS == 4, we mayn't be able to compile following code
correctly.

> +  static const charclass utf8_classes[5] = {
> +      {  0,  0,  0,  0, ~0, ~0, 0, 0 },            /* 80-bf: non-lead bytes 
> */
> +      { ~0, ~0, ~0, ~0, 0, 0, 0, 0 },              /* 00-7f: 1-byte sequence 
> */
> +      {  0,  0,  0,  0,  0,  0, 0xfffffffcU, 0 },  /* c2-df: 2-byte sequence 
> */
> +      {  0,  0,  0,  0,  0,  0,  0, 0xffff },      /* e0-ef: 3-byte sequence 
> */
> +      {  0,  0,  0,  0,  0,  0,  0, 0xff0000 }     /* f0-f7: 4-byte sequence 
> */
> +  };




Reply via email to