mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-01 22:25:42 +03:00
rose: parameterise CHECK_LIT_EARLY
This commit is contained in:
committed by
Matthew Barr
parent
7690881f85
commit
1df4da16ad
@@ -880,9 +880,9 @@ hwlmcb_rv_t roseRunProgram(const struct RoseEngine *t,
|
||||
PROGRAM_NEXT_INSTRUCTION
|
||||
|
||||
PROGRAM_CASE(CHECK_LIT_EARLY) {
|
||||
if (end < t->floatingMinLiteralMatchOffset) {
|
||||
DEBUG_PRINTF("halt: too soon, min offset=%u\n",
|
||||
t->floatingMinLiteralMatchOffset);
|
||||
if (end < ri->min_offset) {
|
||||
DEBUG_PRINTF("halt: before min_offset=%u\n",
|
||||
ri->min_offset);
|
||||
return HWLM_CONTINUE_MATCHING;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user