introduce Sheng-McClellan hybrid

This commit is contained in:
Alex Coyte
2016-12-01 14:32:47 +11:00
committed by Matthew Barr
parent f626276271
commit e51b6d23b9
35 changed files with 3804 additions and 206 deletions

View File

@@ -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;
}