mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
smallwrite: cope when everything has been pruned
This commit is contained in:
parent
c6f5275acc
commit
d809e73d45
@ -920,6 +920,11 @@ bytecode_ptr<SmallWriteEngine> SmallWriteBuildImpl::build(u32 roseQuality) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (!rdfa) {
|
||||
DEBUG_PRINTF("no dfa, pruned everything away\n");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
DEBUG_PRINTF("building rdfa %p\n", rdfa.get());
|
||||
|
||||
u32 start_offset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user