Paolo Bonzini
52e232ab96
do not make single-byte searches go through slow MBCS paths
2004-01-12 Paolo Bonzini <bonzini@gnu.org>
* posix/regcomp.c (peek_token, parse_bracket_exp, build_charclass_op)
[RE_ENABLE_I18N]: Initialize the tokens' accept_mb field.
* posix/regex_internal.c (create_ci_newstate, create_cd_newstate)
[RE_ENABLE_I18N]: Initialize the DFA state's accept_mb field
from the nodes'.
* posix/regex_internal.h (re_token_t) [RE_ENABLE_I18N]: Add the
accept_mb bitfield.
(ACCEPT_MB_NODE): Remove.
* posix/regexec.c (transit_state_mb, check_arrival_add_next_nodes,
proceed_next_node, build_sifted_states): Look at the nodes' accept_mb
field.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-26
2008-01-09 16:11:36 +01:00
..
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2008-01-09 16:10:44 +01:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2008-01-09 16:11:36 +01:00
2008-01-09 16:10:54 +01:00
2008-01-09 16:11:36 +01:00
2008-01-09 16:11:36 +01:00
2004-10-20 21:42:31 +00:00
2008-01-09 16:11:36 +01:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00