(WIDE_CHAR_SUPPORT): New macro.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 Sep 2000 04:24:00 +0000 (04:24 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 Sep 2000 04:24:00 +0000 (04:24 +0000)
commit14473664b8532c58469a74b2f6503d543e195b88
tree9e45560c28bb94a717007998f154e70cddc04d10
parentf8803e97836d71f7e93dbf9d6ac21eafb1c8040b
(WIDE_CHAR_SUPPORT): New macro.
(btowc, iswctype, wctype) [_LIBC]: Redefine to __<fun>.
(BIT_ALPHA, BIT_ALNUM, BIT_ASCII, BIT_NONASCII, BIT_GRAPH, BIT_PRINT)
(BIT_UNIBYTE): Remove.
(re_match_2_internal): Delete corresponding code and streamline the
BIT_MULTIBYTE case to not bother checking ISUNIBYTE.
(CHAR_CLASS_MAX_LENGTH) [!WIDE_CHAR_SUPPORT]: Set to 9 rather than 6.
(re_wctype_t): New type.
(re_wctype, re_iswctype, re_wctype_to_bit): New functions.
(regex_compile): Use them and fix handling of overly long char classes.
src/ChangeLog
src/regex.c