mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
No need for an assert here, impl_id can be set to 0
This commit is contained in:
parent
689556d5f9
commit
05fd11c0aa
@ -610,7 +610,9 @@ dstate_id_t find_sheng_states(dfa_info &info,
|
||||
for (auto v : sheng_states) {
|
||||
dstate_id_t s = g[v].index;
|
||||
if (contains(accel_escape_info, s)) {
|
||||
assert(!info.states[s].impl_id);
|
||||
if (info.states[s].impl_id == 0) {
|
||||
DEBUG_PRINTF("impl_id == 0!\n");
|
||||
}
|
||||
info.states[s].impl_id = sheng_end++;
|
||||
info.extra[s].sheng_id = info.states[s].impl_id - 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user