Mercurial > hg > Applications > Grep
comparison regexParser/cerium/CeriumMain.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 | b74e3b4b11d7 |
children | f2491681914e |
comparison
equal
deleted
inserted
replaced
285:3ea12df96bcf | 286:555ca452f031 |
---|---|
27 return tsv; | 27 return tsv; |
28 } | 28 } |
29 | 29 |
30 static | 30 static |
31 TSValue stateSkip(TSValue tsv) { | 31 TSValue stateSkip(TSValue tsv) { |
32 tsv.current = tsv.tg->stateList->tState; | |
32 tsv.buff.matchBegin = tsv.buff.buffptr; | 33 tsv.buff.matchBegin = tsv.buff.buffptr; |
33 return tsv; | 34 return tsv; |
34 } | 35 } |
35 | 36 |
36 static | 37 static |