Mercurial > emacs
diff src/regex.c @ 106999:eb7555fbea3b
regex.c (analyse_first): Fix setting of fastmap for unibyte pattern string.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Wed, 27 Jan 2010 14:17:35 +0900 |
| parents | 1d1d5d9bd884 |
| children | a2b9cb6b7cb7 |
line wrap: on
line diff
--- a/src/regex.c Mon Jan 25 17:22:45 2010 +0900 +++ b/src/regex.c Wed Jan 27 14:17:35 2010 +0900 @@ -4083,8 +4083,7 @@ the corresponding multibyte character. */ int c = RE_CHAR_TO_MULTIBYTE (p[1]); - if (! CHAR_BYTE8_P (c)) - fastmap[CHAR_LEADING_CODE (c)] = 1; + fastmap[CHAR_LEADING_CODE (c)] = 1; } } break;
