diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-11-25 22:32:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-11-25 22:32:18 +0000 |
commit | 20dc2f79f7626201b14bb706688bb2171c7cb59c (patch) | |
tree | c12fa685b1064398ce06cc7231f36dda02fe3c82 /posix/regex_internal.h | |
parent | fda81cf586c87af042fc31bda774689c14c0cec4 (diff) | |
download | glibc-20dc2f79f7626201b14bb706688bb2171c7cb59c.tar.gz glibc-20dc2f79f7626201b14bb706688bb2171c7cb59c.tar.xz glibc-20dc2f79f7626201b14bb706688bb2171c7cb59c.zip |
Update.
2004-11-23 Paolo Bonzini <bonzini@gnu.org> * posix/regcomp.c (analyze_tree): Always call calc_epsdest. (calc_inveclosure): Use re_node_set_insert_last. (parse_dup_op): Lower X{1,5} to (X(X(X(XX?)?)?)?)? rather than X?X?X?X?X?. * posix/regex_internal.h (re_node_set_insert_last): New declaration. * posix/regex_internal.c (re_node_set_insert_last): New function. * posix/PCRE.tests: Add testcases.
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r-- | posix/regex_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h index a778032d77..703d409eb8 100644 --- a/posix/regex_internal.h +++ b/posix/regex_internal.h @@ -668,6 +668,8 @@ static reg_errcode_t re_node_set_init_union (re_node_set *dest, static reg_errcode_t re_node_set_merge (re_node_set *dest, const re_node_set *src) internal_function; static int re_node_set_insert (re_node_set *set, int elem) internal_function; +static int re_node_set_insert_last (re_node_set *set, + int elem) internal_function; static int re_node_set_compare (const re_node_set *set1, const re_node_set *set2) internal_function; static int re_node_set_contains (const re_node_set *set, int elem) internal_function; |