Skip to content

Commit

Permalink
chimera: fix SKIP flag issue
Browse files Browse the repository at this point in the history
fix github issue #360
  • Loading branch information
hongyang7 authored and fatchanghao committed Aug 1, 2022
1 parent 1dc964d commit 10b5225
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chimera/ch_runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ ch_error_t catchupPcre(struct HybridContext *hyctx, unsigned int id,
} else if (cbrv == CH_CALLBACK_SKIP_PATTERN) {
DEBUG_PRINTF("user callback told us to skip this pattern\n");
pd->scanStart = hyctx->length;
if (top_id == id) {
break;
}
continue;
}

if (top_id == id) {
Expand Down

0 comments on commit 10b5225

Please sign in to comment.