Mercurial > hg > Applications > Grep
comparison regexParser/cerium/ppe/Exec.cc @ 271:6640b0d5bf13
remove anystate processing in sequential seqrch
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 29 Jan 2016 19:37:11 +0900 |
parents | e51cac73e42a |
children | 5aa9d01926f1 |
comparison
equal
deleted
inserted
replaced
270:c82f7e7f66f7 | 271:6640b0d5bf13 |
---|---|
32 TSValue tsv; | 32 TSValue tsv; |
33 tsv.buff = buff; | 33 tsv.buff = buff; |
34 tsv.tg = tg; | 34 tsv.tg = tg; |
35 tsv.result = NULL; | 35 tsv.result = NULL; |
36 tsv.resultEnd = &tsv.result; | 36 tsv.resultEnd = &tsv.result; |
37 tsv.current = generateTState(tg->anyState); | 37 tsv.current = tg->anyState->tState; |
38 tsv.tg->stateSkip = stateSkip; | 38 tsv.tg->stateSkip = stateSkip; |
39 tsv.tg->stateMatch = stateMatch; | 39 tsv.tg->stateMatch = stateMatch; |
40 tsv.tg->stateNothing = stateNothing; | 40 tsv.tg->stateNothing = stateNothing; |
41 unsigned char *end = buff.buffend; | 41 unsigned char *end = buff.buffend; |
42 buff.buffend = buff.buff+1; | 42 buff.buffend = buff.buff+1; |