Mercurial > hg > Applications > Grep
diff regexParser/threadedSearch.cc @ 282:87a801c14117
fix match condition (parallel search doesn't work)
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 31 Jan 2016 19:53:58 +0900 |
parents | b74e3b4b11d7 |
children | fbdb94df9eac |
line wrap: on
line diff
--- a/regexParser/threadedSearch.cc Sun Jan 31 18:28:58 2016 +0900 +++ b/regexParser/threadedSearch.cc Sun Jan 31 19:53:58 2016 +0900 @@ -83,7 +83,7 @@ TSValue tSearch(TSValue tsv) { next: while (tsv.buff.buffptr < tsv.buff.buffend) { unsigned char c = *tsv.buff.buffptr++; - // printState(tsv.current->state); +// printState(tsv.current->state); for (int i = 0; i < tsv.current->ccvSize; i++) { CCVPtr ccv = &tsv.current->ccv[i]; if (c<ccv->begin) {