Mercurial > hg > Applications > Grep
comparison regexParser/threadedSearch.cc @ 270:c82f7e7f66f7
running ts
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 29 Jan 2016 18:13:04 +0900 |
parents | 0e423d9f9647 |
children | 5aa9d01926f1 |
comparison
equal
deleted
inserted
replaced
269:3a95be4a5bb0 | 270:c82f7e7f66f7 |
---|---|
105 void threadedSearch(TransitionGeneratorPtr tg, Buffer buff) { | 105 void threadedSearch(TransitionGeneratorPtr tg, Buffer buff) { |
106 TSValue tsv; | 106 TSValue tsv; |
107 tsv.buff = buff; | 107 tsv.buff = buff; |
108 tsv.tg = tg; | 108 tsv.tg = tg; |
109 tsv.result = NULL; | 109 tsv.result = NULL; |
110 tsv.current = generateTState(tg->stateList,tg); | |
111 tsv.tg->stateSkip = stateSkip; | 110 tsv.tg->stateSkip = stateSkip; |
112 tsv.tg->stateMatch = stateMatch; | 111 tsv.tg->stateMatch = stateMatch; |
113 tsv.tg->stateNothing = stateNothing; | 112 tsv.tg->stateNothing = stateNothing; |
113 tsv.current = generateTState(tg->stateList,tg); | |
114 tSearch(tsv); | 114 tSearch(tsv); |
115 } | 115 } |