Mercurial > hg > Applications > Grep
diff regexParser/regexParser.h @ 212:b0ae5273925c
implement allocateCCState()
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 28 Dec 2015 16:42:02 +0900 |
parents | e809a2dd0731 |
children | a94f57af1600 |
line wrap: on
line diff
--- a/regexParser/regexParser.h Mon Dec 28 15:43:27 2015 +0900 +++ b/regexParser/regexParser.h Mon Dec 28 16:42:02 2015 +0900 @@ -24,11 +24,15 @@ Word w; } Condition, *ConditionList; +struct state; + typedef struct charClass { unsigned char type; struct charClass *left; struct charClass *right; Condition cond; + int stateNum; + struct state *state; BitVector nextState; } CharClass, *CharClassPtr;