Mercurial > hg > Applications > Grep
diff regexParser/threadedSearch.cc @ 260:3f3c9902bb6d
initialize node in allocateNode()
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 14:30:20 +0900 |
parents | 6a6546a753cf |
children | 157f6886ba55 |
line wrap: on
line diff
--- a/regexParser/threadedSearch.cc Tue Jan 26 13:34:33 2016 +0900 +++ b/regexParser/threadedSearch.cc Tue Jan 26 14:30:20 2016 +0900 @@ -13,9 +13,9 @@ } void stateMatch(TSValue tsv) { - fwrite(tsv.buff.matchBegin,tsv.buff.buffptr-buff.matchBegin,1,stdout); + fwrite(tsv.buff.matchBegin,tsv.buff.buffptr-tsv.buff.matchBegin,1,stdout); puts("\n"); - grepSkip(tg,buff); + stateSkip(tsv); } TStatePtr generateTState(StatePtr state) {