Mercurial > hg > Applications > Grep
comparison regexParser/cerium/CeriumMain.cc @ 298:63213964502a
refactoring ....
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 03 Feb 2016 12:24:34 +0900 |
parents | 948428caf616 |
children | 27414e6fb33c |
comparison
equal
deleted
inserted
replaced
297:c5a7caa37f61 | 298:63213964502a |
---|---|
38 *tsv.blk->resultEnd = r; | 38 *tsv.blk->resultEnd = r; |
39 r->next = NULL; | 39 r->next = NULL; |
40 tsv.blk->resultEnd = &r->next; | 40 tsv.blk->resultEnd = &r->next; |
41 tsv.matchEnd=NULL; | 41 tsv.matchEnd=NULL; |
42 } | 42 } |
43 tsv.matchBegin = tsv.buff.buffptr; // next char may be matchBegin | |
43 return tsv; | 44 return tsv; |
44 } | 45 } |
45 | 46 |
46 static | 47 static |
47 TSValue stateMatch(TSValue tsv) { | 48 TSValue stateMatch(TSValue tsv) { |