diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-05-15 07:57:49 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2008-05-15 07:57:49 +0000 |
commit | 78463734c14d180e4d8e16c6e66fb213fc3479c0 (patch) | |
tree | 718b7357ea9e63d4a951a0a725105619b97d2977 /posix/regex_internal.c | |
parent | ef73dbc1301bc42c132d15ae6ca866233c0beeb4 (diff) |
Updated to fedora-glibc-20080515T0735cvs/fedora-glibc-2_8_90-1
Diffstat (limited to 'posix/regex_internal.c')
-rw-r--r-- | posix/regex_internal.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/posix/regex_internal.c b/posix/regex_internal.c index 66154e0cea..01a432e801 100644 --- a/posix/regex_internal.c +++ b/posix/regex_internal.c @@ -1665,11 +1665,9 @@ create_cd_newstate (const re_dfa_t *dfa, const re_node_set *nodes, for (i = 0 ; i < nodes->nelem ; i++) { - unsigned int constraint = 0; re_token_t *node = dfa->nodes + nodes->elems[i]; re_token_type_t type = node->type; - if (node->constraint) - constraint = node->constraint; + unsigned int constraint = node->constraint; if (type == CHARACTER && !constraint) continue; @@ -1682,8 +1680,6 @@ create_cd_newstate (const re_dfa_t *dfa, const re_node_set *nodes, newstate->halt = 1; else if (type == OP_BACK_REF) newstate->has_backref = 1; - else if (type == ANCHOR) - constraint = node->opr.ctx_type; if (constraint) { |