comparison src/ChangeLog @ 31312:e6b19a60e035

* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag. (struct re_pattern_buffer): Remove newline_anchor. * regex.c: Keep namespace clean for GNU libc by renaming <fun> to __<fun> and using `weak_alias (__<fun>, <fun>)'. (re_max_failures, fail_stack): Use size_t rather than unsigned. (regex_compile): For ^ and $, choose between buffer and line (beg|end) depending on the new RE_NO_NEWLINE_ANCHOR syntax flag. (print_compiled_pattern, re_search_2, mutually_exclusive_p) (re_match_2_internal, re_compile_pattern, re_comp, regcomp): Get rid of references to newline_anchor. (regcomp): Allocate and precompute a fastmap.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 31 Aug 2000 17:19:15 +0000
parents c6f70d6ba074
children e14c9c3a1cc6
comparison
equal deleted inserted replaced
31311:a04fdd7a9207 31312:e6b19a60e035
1 2000-08-31 Stefan Monnier <monnier@cs.yale.edu>
2
3 * regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
4 (struct re_pattern_buffer): Remove newline_anchor.
5 * regex.c: Keep namespace clean for GNU libc by renaming <fun>
6 to __<fun> and using `weak_alias (__<fun>, <fun>)'.
7 (re_max_failures, fail_stack): Use size_t rather than unsigned.
8 (regex_compile): For ^ and $, choose between buffer and line (beg|end)
9 depending on the new RE_NO_NEWLINE_ANCHOR syntax flag.
10 (print_compiled_pattern, re_search_2, mutually_exclusive_p)
11 (re_match_2_internal, re_compile_pattern, re_comp, regcomp):
12 Get rid of references to newline_anchor.
13 (regcomp): Allocate and precompute a fastmap.
14
1 2000-08-31 Gerd Moellmann <gerd@gnu.org> 15 2000-08-31 Gerd Moellmann <gerd@gnu.org>
2 16
3 * lread.c (openp): GCPRO local variable `filename'. 17 * lread.c (openp): GCPRO local variable `filename'.
4 18
5 2000-08-30 Stefan Monnier <monnier@cs.yale.edu> 19 2000-08-30 Stefan Monnier <monnier@cs.yale.edu>