diff options
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -1,3 +1,30 @@ +2021-11-24 Paul Eggert <eggert@cs.ucla.edu> + + regex: merge from glibc + The main change here, imported from Glibc, is for the regex + code to stop using nested functions when _LIBC is defined. + The intent is for the result to be copied back to Glibc + so that the two implementations can resync. + * lib/regcomp.c (re_set_fastmap, seek_collating_symbol_entry) + (lookup_collation_sequence_value, build_range_exp) + (build_collating_symbol): + * lib/regexec.c (acquire_init_state_context): + Declare with __always_inline instead of with + ‘inline __attribute__ ((always_inline))’. + * lib/regexec.c (init_word_char): + Move uint64_t comment to regex_internal.h. + (parse_byte): Change multibyte-detecting arg from re_charset_t * + to re_dfa_t const *. All callers changed. + (build_range_exp, build_collating_symbol) [!_LIBC]: + Change signature to match _LIBC well enough so that the caller can + be simplified to assume _LIBC. + (parse_bracket_exp): Pull its nested functions + seek_collating_symbol_entry, lookup_collation_sequence_value, + build_range_exp, build_collating_symbol out to the top level, + adding args to pass the information instead of having them access + nonlocal vars. Use types in local vars that do not assume glibc. + * lib/regex_internal.h: Explain uint64_t etc. here. + 2021-11-23 Paul Eggert <eggert@cs.ucla.edu> regex: assume RE_ENABLE_I18N |