Mercurial > hg > Members > masakoha > testcode
diff c/regexParser/transition.h @ 141:71f36a59cf6a pairPro
add appendState
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 11 Dec 2015 13:12:42 +0900 |
parents | 84a2a5209d3a |
children | d8a4922eceae |
line wrap: on
line diff
--- a/c/regexParser/transition.h Wed Dec 09 19:57:22 2015 +0900 +++ b/c/regexParser/transition.h Fri Dec 11 13:12:42 2015 +0900 @@ -7,10 +7,13 @@ } Transition, *TransitionPtr; typedef struct state { + BitVectorPtr bitState; TransitionPtr transition; struct state *next; } State, *StatePtr; +StatePtr createState(BitVectorPtr bi, TransitionPtr ts, StatePtr next); +StatePtr appendState(StatePtr x, StatePtr y); TransitionPtr createTransition(CharClassPtr cc ,BitVectorPtr state); TransitionPtr appendTransition0(TransitionPtr curr,TransitionPtr next); TransitionPtr appendTransition(TransitionPtr curr,TransitionPtr next);