X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=regcomp.h;h=7554a026973a4183b6730b7a9bbdfcc2509b1bba;hb=f29b885a606ebcae8bf384c16eb4affebb332ccc;hp=6a2a22d94e78063c5b51549ce349e3fec2d79c72;hpb=075abff3feb0c6965ba49108266b27bec1bd4ae6;p=p5sagit%2Fp5-mst-13.2.git diff --git a/regcomp.h b/regcomp.h index 6a2a22d..7554a02 100644 --- a/regcomp.h +++ b/regcomp.h @@ -15,7 +15,7 @@ typedef OP OP_4tree; /* Will be redefined later. */ * compile to execute that permits the execute phase to run lots faster on * simple cases. They are: * - * regstart sv that must begin a match; Nullch if none obvious + * regstart sv that must begin a match; NULL if none obvious * reganch is the match anchored (at beginning-of-line only)? * regmust string (pointer into program) that match must include, or NULL * [regmust changed to SV* for bminstr()--law] @@ -402,11 +402,7 @@ struct reg_substr_data { /* trie related stuff */ -/* an accepting state/position*/ -struct _reg_trie_accepted { - U8 *endpos; - U16 wordnum; -}; + /* a transition record for the state machine. the check field determines which state "owns" the transition. the char the transition is for is @@ -441,7 +437,6 @@ struct _reg_trie_state { -typedef struct _reg_trie_accepted reg_trie_accepted; typedef struct _reg_trie_state reg_trie_state; typedef struct _reg_trie_trans reg_trie_trans;