summaryrefslogtreecommitdiff
path: root/posix/regex_internal.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-02 11:08:23 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-02 11:08:23 +0000
commit8503c987b63bd8badff1e4c9286949b025cecdb3 (patch)
treec4952d8f087dab2e22cf6ee8883a6c293257f1b3 /posix/regex_internal.h
parenta4024b3e6e67062b7043d6cefecc4ff9058883b3 (diff)
Update.
2004-01-01 Paolo Bonzini <bonzini@gnu.org> * posix/regex_internal.h (re_dfastate_t): Fix size of the CONTEXT bitfield. * posix/regex_internal.c (re_node_set_insert): Rewrite.
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r--posix/regex_internal.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 18414a58cc..c2824ed977 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -1,5 +1,5 @@
/* Extended regular expression matching and search library.
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
@@ -471,10 +471,7 @@ struct re_dfastate_t
re_node_set nodes;
re_node_set *entrance_nodes;
struct re_dfastate_t **trtable;
- /* If this state is a special state.
- A state is a special state if the state is the halt state, or
- a anchor. */
- unsigned int context : 2;
+ unsigned int context : 10;
unsigned int halt : 1;
/* If this state can accept `multi byte'.
Note that we refer to multibyte characters, and multi character