kc3-lang/gnulib/regex.c

Branch :


Log

Author Commit Date CI Message
7aebc8c5 2001-11-02 16:06:54 (re_wctype): Try to fix some warnings. (regcomp, regexec): Don't forget the __restrict.
b8e81480 2001-10-09 10:05:13 (WIDE_CHAR_SUPPORT): Do not use defined() in macro. From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
b03fe9f5 2001-05-12 10:52:38 (malloc, realloc, free) [emacs]: Undefine before redefining, to avoid compiler warnings.
d0836e87 2001-01-25 01:44:54 (mutually_exclusive_p): Add missing `break' at the end of `charset' processing.
7a34afe4 2001-01-24 23:11:40 (mutually_exclusive_p): Don't blindly handle `charset_not' as if it was a `charset'.
16816fd5 2000-10-30 15:20:17 (re_iswctype, re_wctype_to_bit): Fix braino. (regex_compile): Catch bogus \(\1\).
5343a3e2 2000-10-27 13:29:36 (POP_FAILURE_REG_OR_COUNT, re_match_2_internal) (re_match_2_internal, re_match_2_internal, re_match_2_internal): Giving in to popular pressure to shut up the compiler with casts.
7ae0247f 2000-10-26 00:45:01 More `unsigned char' -> `re_char' changes. Also change several `int' into `re_wchar_t'. (PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove. (PUSH_FAILURE_POINTER): Don't cast any more. (POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'. We want GCC to complain, since this piece of code makes re_match non-reentrant, which *should* be fixed. (GET_BUFFER_SPACE): Use size_t rather than unsigned long. (EXTEND_BUFFER): Use RETALLOC. (SET_LIST_BIT): Don't cast. (re_wchar_t): New type. (re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC that those two functions will always properly return. (IMMEDIATE_QUIT_CHECK): Cast to void. (analyse_first): Use recursion rather than an explicit stack. (re_compile_fastmap): Can't fail anymore. (re_search_2): Don't check re_compile_fastmap for failure. (PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT. Now also sets the new value (passed in a new argument). (re_match_2_internal): Use it. Also, use a new var `reg' of type size_t when looping through regs rather than reuse the inappropriate `mcnt'.
89892cc1 2000-10-24 14:00:55 (IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on NT-Emacs only. (re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT, so that re_search functions only quit when callers expect them to.
4f606842 2000-10-24 08:27:34 (regex_compile): Fix previous change.