mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-17 09:45:28 +03:00
introduce Sheng-McClellan hybrid
This commit is contained in:
@@ -1206,7 +1206,7 @@ u32 roseQuality(const RoseEngine *t) {
|
||||
}
|
||||
const NFA *nfa = (const NFA *)((const char *)atable + sizeof(*atable));
|
||||
|
||||
if (nfa->type != MCCLELLAN_NFA_8) {
|
||||
if (!isSmallDfaType(nfa->type)) {
|
||||
DEBUG_PRINTF("m16 atable engine\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user