1 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
3 * regex.c (POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
4 (re_match_2_internal, re_match_2_internal, re_match_2_internal):
5 Giving in to popular pressure to shut up the compiler with casts.
7 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
9 * regex.c: More `unsigned char' -> `re_char' changes.
10 Also change several `int' into `re_wchar_t'.
11 (PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove.
12 (PUSH_FAILURE_POINTER): Don't cast any more.
13 (POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'.
14 We want GCC to complain, since this piece of code makes
15 re_match non-reentrant, which *should* be fixed.
16 (GET_BUFFER_SPACE): Use size_t rather than unsigned long.
17 (EXTEND_BUFFER): Use RETALLOC.
18 (SET_LIST_BIT): Don't cast.
19 (re_wchar_t): New type.
20 (re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC
21 that those two functions will always properly return.
22 (IMMEDIATE_QUIT_CHECK): Cast to void.
23 (analyse_first): Use recursion rather than an explicit stack.
24 (re_compile_fastmap): Can't fail anymore.
25 (re_search_2): Don't check re_compile_fastmap for failure.
26 (PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT.
27 Now also sets the new value (passed in a new argument).
28 (re_match_2_internal): Use it.
29 Also, use a new var `reg' of type size_t when looping through regs
30 rather than reuse the inappropriate `mcnt'.
32 2000-10-24 Andrew Innes <andrewi@gnu.org>
34 * regex.c (IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on
36 (re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT,
37 so that re_search functions only quit when callers expect them to.
39 2000-10-24 Kenichi Handa <handa@etl.go.jp>
41 * regex.c (regex_compile): Change the way of handling a range from
42 a char less than 256 to a char not less than 256.
44 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
46 * regex.c (WIDE_CHAR_SUPPORT): Define if _LIBC as well.