projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Re: [PATCH] Trie jumping
[p5sagit/p5-mst-13.2.git]
/
regexp.h
diff --git
a/regexp.h
b/regexp.h
index
8d71752
..
1a4ceb4
100644
(file)
--- a/
regexp.h
+++ b/
regexp.h
@@
-212,6
+212,7
@@
typedef struct regmatch_state {
struct {
reg_trie_accepted *accept_buff;
U32 accepted; /* how many accepting states we have seen */
+ U16 *jump; /* negative offsets from B */
regnode *B; /* node following the trie */
regnode *me; /* only needed for debugging */
} trie;