mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
tamarama: check for match halt in _Q2 as well
This commit is contained in:
parent
e6c05d5a55
commit
87e32c9037
@ -431,6 +431,9 @@ char nfaExecTamarama0_Q2(const struct NFA *n,
|
|||||||
rv = nfaQueueExec2_raw(q1.nfa, &q1, end);
|
rv = nfaQueueExec2_raw(q1.nfa, &q1, end);
|
||||||
q->report_current = q1.report_current;
|
q->report_current = q1.report_current;
|
||||||
copy = 1;
|
copy = 1;
|
||||||
|
if (can_stop_matching(q->scratch)) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (copy) {
|
if (copy) {
|
||||||
copyBack(t, q, &q1);
|
copyBack(t, q, &q1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user