Mercurial > emacs
comparison src/regex.c @ 74323:ad2b5e25b8f0
(regex_compile): Fix previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 30 Nov 2006 01:52:26 +0000 |
parents | 6a6741f593f5 |
children | 0b7286cbaf0c c71725faff1a f1d13e615070 |
comparison
equal
deleted
inserted
replaced
74322:c2ee8f5d0bb4 | 74323:ad2b5e25b8f0 |
---|---|
3019 } | 3019 } |
3020 else | 3020 else |
3021 { | 3021 { |
3022 for (this_char = range_start; this_char <= range_end; | 3022 for (this_char = range_start; this_char <= range_end; |
3023 this_char++) | 3023 this_char++) |
3024 SET_LIST_BIT (TRANSLATE (this_char)); | 3024 { |
3025 int translated = TRANSLATE (this_char); | |
3026 if (translated < (1 << BYTEWIDTH)) | |
3027 SET_LIST_BIT (translated); | |
3028 else | |
3029 SET_RANGE_TABLE_WORK_AREA | |
3030 (range_table_work, translated, translated); | |
3031 } | |
3025 } | 3032 } |
3026 } | 3033 } |
3027 else | 3034 else |
3028 /* ... into range table. */ | 3035 /* ... into range table. */ |
3029 SET_RANGE_TABLE_WORK_AREA (range_table_work, c, c1); | 3036 SET_RANGE_TABLE_WORK_AREA (range_table_work, c, c1); |