(re_match_context_t): Add a new member.
authordrepper <drepper>
Mon, 30 Sep 2002 21:54:49 +0000 (21:54 +0000)
committerdrepper <drepper>
Mon, 30 Sep 2002 21:54:49 +0000 (21:54 +0000)
(re_fail_stack_ent_t): New structure.
(re_fail_stack_t): Likewise.

posix/regex_internal.h

index cc65845..5aef684 100644 (file)
@@ -419,6 +419,7 @@ typedef struct
   int eflags;
   /* Where the matching ends.  */
   int match_last;
+  int last_node;
   /* The string object corresponding to the input string.  */
   re_string_t *input;
   /* The state log used by the matcher.  */
@@ -446,6 +447,21 @@ typedef struct
   int check_subexp;
 } re_sift_context_t;
 
+struct re_fail_stack_ent_t
+{
+  int idx;
+  int node;
+  regmatch_t *regs;
+  re_node_set eps_via_nodes;
+};
+
+struct re_fail_stack_t
+{
+  int num;
+  int alloc;
+  struct re_fail_stack_ent_t *stack;
+};
+
 struct re_dfa_t
 {
   re_bitset_ptr_t word_char;