Mercurial > hg > Applications > Grep
comparison regexParser/cerium/ppe/Exec.cc @ 288:f2491681914e
special state for start search
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 01 Feb 2016 01:35:12 +0900 |
parents | 87a801c14117 |
children | 868f01f1ba8e |
comparison
equal
deleted
inserted
replaced
287:2f3e7bba038e | 288:f2491681914e |
---|---|
13 TSValue blockSearch(TransitionGeneratorPtr tg,Buffer buff,int task_spawned) { | 13 TSValue blockSearch(TransitionGeneratorPtr tg,Buffer buff,int task_spawned) { |
14 TSValue tsv; | 14 TSValue tsv; |
15 tsv.buff = buff; | 15 tsv.buff = buff; |
16 tsv.tg = tg; | 16 tsv.tg = tg; |
17 if (task_spawned == 0) { | 17 if (task_spawned == 0) { |
18 tsv.current = tg->stateList->tState; | 18 tsv.current = tg->stateStart->tState; |
19 } else { | 19 } else { |
20 tsv.current = tg->anyState->tState; | 20 tsv.current = tg->anyState->tState; |
21 } | 21 } |
22 tsv.result = NULL; | 22 tsv.result = NULL; |
23 ResultPtr result = NULL; | 23 ResultPtr result = NULL; |