Mercurial > hg > Applications > Grep
diff regexParser/cerium/CeriumMain.cc @ 293:948428caf616
NFA maximum match worked
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 02 Feb 2016 10:38:45 +0900 |
parents | 868f01f1ba8e |
children | 63213964502a |
line wrap: on
line diff
--- a/regexParser/cerium/CeriumMain.cc Mon Feb 01 21:52:57 2016 +0900 +++ b/regexParser/cerium/CeriumMain.cc Tue Feb 02 10:38:45 2016 +0900 @@ -34,7 +34,7 @@ ResultPtr r = NEW(Result); r->continued = false; r->begin = tsv.matchBegin; - r->end = tsv.buff.buffptr; + r->end = tsv.matchEnd; *tsv.blk->resultEnd = r; r->next = NULL; tsv.blk->resultEnd = &r->next;