Mercurial > hg > Applications > Grep
comparison regexParser/threadedSearch.cc @ 286:555ca452f031
initialize state in stateSkip
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 31 Jan 2016 22:07:53 +0900 |
parents | 3ea12df96bcf |
children | f2491681914e |
comparison
equal
deleted
inserted
replaced
285:3ea12df96bcf | 286:555ca452f031 |
---|---|
10 return tsv; | 10 return tsv; |
11 } | 11 } |
12 | 12 |
13 static | 13 static |
14 TSValue stateSkip(TSValue tsv) { | 14 TSValue stateSkip(TSValue tsv) { |
15 tsv.current = tsv.tg->stateList->tState; | |
15 tsv.buff.matchBegin = tsv.buff.buffptr; | 16 tsv.buff.matchBegin = tsv.buff.buffptr; |
16 return tsv; | 17 return tsv; |
17 } | 18 } |
18 | 19 |
19 static | 20 static |