Mercurial > emacs
comparison src/regex.c @ 90727:a664c8170666
(regex_compile): Synch with HEAD.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 15 Dec 2006 01:33:37 +0000 |
parents | f1d13e615070 |
children | bc10a33dd40b |
comparison
equal
deleted
inserted
replaced
90726:40b259875eae | 90727:a664c8170666 |
---|---|
2990 | 2990 |
2991 for (ch = 0; ch < 128; ++ch) | 2991 for (ch = 0; ch < 128; ++ch) |
2992 if (re_iswctype (btowc (ch), cc)) | 2992 if (re_iswctype (btowc (ch), cc)) |
2993 { | 2993 { |
2994 c = TRANSLATE (ch); | 2994 c = TRANSLATE (ch); |
2995 SET_LIST_BIT (c); | 2995 if (c < (1 << BYTEWIDTH)) |
2996 SET_LIST_BIT (c); | |
2996 } | 2997 } |
2997 | 2998 |
2998 if (target_multibyte) | 2999 if (target_multibyte) |
2999 { | 3000 { |
3000 SET_RANGE_TABLE_WORK_AREA_BIT | 3001 SET_RANGE_TABLE_WORK_AREA_BIT |