diff options
author | Kenichi Handa <handa@m17n.org> | 2006-12-15 01:33:37 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2006-12-15 01:33:37 +0000 |
commit | ed00c2ac8337ed5ec9485a69e67f37d2909a84dc (patch) | |
tree | d0d1743966c485408293f01ec6d622a6f316c4e4 /src/regex.c | |
parent | b0bad611485618f1071fc21a200d9c2b827b8cc8 (diff) | |
download | emacs-ed00c2ac8337ed5ec9485a69e67f37d2909a84dc.tar.gz |
(regex_compile): Synch with HEAD.
Diffstat (limited to 'src/regex.c')
-rw-r--r-- | src/regex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regex.c b/src/regex.c index b97ee7943fd..4b011634ae1 100644 --- a/src/regex.c +++ b/src/regex.c @@ -2992,7 +2992,8 @@ regex_compile (pattern, size, syntax, bufp) if (re_iswctype (btowc (ch), cc)) { c = TRANSLATE (ch); - SET_LIST_BIT (c); + if (c < (1 << BYTEWIDTH)) + SET_LIST_BIT (c); } if (target_multibyte) |