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 |
2f3e7bba038e |
files |
regexParser/cerium/CeriumMain.cc regexParser/threadedSearch.cc |
diffstat |
2 files changed, 2 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/regexParser/cerium/CeriumMain.cc Sun Jan 31 21:08:34 2016 +0900
+++ b/regexParser/cerium/CeriumMain.cc Sun Jan 31 22:07:53 2016 +0900
@@ -29,6 +29,7 @@
static
TSValue stateSkip(TSValue tsv) {
+ tsv.current = tsv.tg->stateList->tState;
tsv.buff.matchBegin = tsv.buff.buffptr;
return tsv;
}
--- a/regexParser/threadedSearch.cc Sun Jan 31 21:08:34 2016 +0900
+++ b/regexParser/threadedSearch.cc Sun Jan 31 22:07:53 2016 +0900
@@ -12,6 +12,7 @@
static
TSValue stateSkip(TSValue tsv) {
+ tsv.current = tsv.tg->stateList->tState;
tsv.buff.matchBegin = tsv.buff.buffptr;
return tsv;
}