(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)
commitaf496701107aa5fa95516ae8f51be7359f40abd2
tree268a5513c0449436e6b9fa1fde01859db064efe7
parent2c09ae7f36c79db5fdf2e0620bb1acb5ca445510
(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.
regex.c