Mercurial > hg > Applications > Grep
diff regexParser/regexParser.cc @ 212:b0ae5273925c
implement allocateCCState()
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 28 Dec 2015 16:42:02 +0900 |
parents | ecf70fb215a5 |
children | a94f57af1600 |
line wrap: on
line diff
--- a/regexParser/regexParser.cc Mon Dec 28 15:43:27 2015 +0900 +++ b/regexParser/regexParser.cc Mon Dec 28 16:42:02 2015 +0900 @@ -126,6 +126,8 @@ cc->nextState.bitContainer = 0; cc->left = NULL; cc->right = NULL; + cc->stateNum = 0; + cc->state = NULL; RangeListPtr rangeList = &cc->cond.range; rangeList->begin = *ri->ptr; rangeList->end = *ri->ptr;