| 394 |
character with a value > 255. */ |
character with a value > 255. */ |
| 395 |
|
|
| 396 |
case OP_NCLASS: |
case OP_NCLASS: |
| 397 |
|
#ifdef SUPPORT_UTF8 |
| 398 |
if (utf8) |
if (utf8) |
| 399 |
{ |
{ |
| 400 |
start_bits[24] |= 0xf0; /* Bits for 0xc4 - 0xc8 */ |
start_bits[24] |= 0xf0; /* Bits for 0xc4 - 0xc8 */ |
| 401 |
memset(start_bits+25, 0xff, 7); /* Bits for 0xc9 - 0xff */ |
memset(start_bits+25, 0xff, 7); /* Bits for 0xc9 - 0xff */ |
| 402 |
} |
} |
| 403 |
|
#endif |
| 404 |
/* Fall through */ |
/* Fall through */ |
| 405 |
|
|
| 406 |
case OP_CLASS: |
case OP_CLASS: |
| 413 |
value is > 127. In fact, there are only two possible starting bytes for |
value is > 127. In fact, there are only two possible starting bytes for |
| 414 |
characters in the range 128 - 255. */ |
characters in the range 128 - 255. */ |
| 415 |
|
|
| 416 |
|
#ifdef SUPPORT_UTF8 |
| 417 |
if (utf8) |
if (utf8) |
| 418 |
{ |
{ |
| 419 |
for (c = 0; c < 16; c++) start_bits[c] |= tcode[c]; |
for (c = 0; c < 16; c++) start_bits[c] |= tcode[c]; |
| 431 |
/* In non-UTF-8 mode, the two bit maps are completely compatible. */ |
/* In non-UTF-8 mode, the two bit maps are completely compatible. */ |
| 432 |
|
|
| 433 |
else |
else |
| 434 |
|
#endif |
| 435 |
{ |
{ |
| 436 |
for (c = 0; c < 32; c++) start_bits[c] |= tcode[c]; |
for (c = 0; c < 32; c++) start_bits[c] |= tcode[c]; |
| 437 |
} |
} |