mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
smallwrite: cope when everything has been pruned
This commit is contained in:
committed by
Matthew Barr
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;
|
||||
|
Reference in New Issue
Block a user