Mercurial > hg > Applications > Grep
comparison regexParser/cerium/ppe/Exec.cc @ 294:bcb3b0cd5604
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 02 Feb 2016 10:42:16 +0900 |
parents | 948428caf616 |
children | 63213964502a |
comparison
equal
deleted
inserted
replaced
293:948428caf616 | 294:bcb3b0cd5604 |
---|---|
37 if (tsv.matchBegin != tsv.buff.buffptr) { | 37 if (tsv.matchBegin != tsv.buff.buffptr) { |
38 // partial match case at block end. | 38 // partial match case at block end. |
39 ResultPtr r = NEW(Result); | 39 ResultPtr r = NEW(Result); |
40 r->continued = true; | 40 r->continued = true; |
41 r->begin = tsv.matchBegin; | 41 r->begin = tsv.matchBegin; |
42 r->end = tsv.buff.buffptr; | 42 r->end = tsv.matchEnd; |
43 *tsv.blk->resultEnd = r; | 43 *tsv.blk->resultEnd = r; |
44 r->next = NULL; | 44 r->next = NULL; |
45 tsv.blk->resultEnd = &r->next; | 45 tsv.blk->resultEnd = &r->next; |
46 // printf("Exec %lx r->begin : %p r->end : %p\n",tsv.blockEnd->state->bitState.bitContainer, r->begin,r->end); | 46 // printf("Exec %lx r->begin : %p r->end : %p\n",tsv.blockEnd->state->bitState.bitContainer, r->begin,r->end); |
47 } | 47 } |