Mercurial > hg > Members > masakoha > testcode
diff regexParser/subsetConstruction.cc @ 268:0e423d9f9647
remove error (remain 1 warning(no use variable))
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 29 Jan 2016 16:06:11 +0900 |
parents | 5d4afe6f6d00 |
children | 6640b0d5bf13 |
line wrap: on
line diff
--- a/regexParser/subsetConstruction.cc Fri Jan 29 13:31:01 2016 +0900 +++ b/regexParser/subsetConstruction.cc Fri Jan 29 16:06:11 2016 +0900 @@ -198,7 +198,6 @@ if (cc->left) { setState(cc->left,bi); } - cc->nextState = bi; if (cc->right) { setState(cc->right,bi); } @@ -422,8 +421,8 @@ BitVector bi = cc->nextState; if (tg->stateArray[bi.bitContainer]) continue; // already done StatePtr s = createState(tg,bi); // s is added at the end of stateList. + determinize(s,tg); tg->stateArray[bi.bitContainer] = s; - determinize(s,tg); } free(cw); }