mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-19 10:34:25 +03:00
OutfixInfo: use boost::variant for engines
This commit is contained in:
committed by
Matthew Barr
parent
fa27025bcb
commit
32c866a8f9
@@ -1904,8 +1904,8 @@ bool extractSEPLiterals(const OutfixInfo &outfix, const ReportManager &rm,
|
||||
// SEP cases should always become DFAs, so that's the only extract code we
|
||||
// have implemented here.
|
||||
|
||||
if (outfix.rdfa) {
|
||||
return extractSEPLiterals(*outfix.rdfa, lits_out);
|
||||
if (outfix.rdfa()) {
|
||||
return extractSEPLiterals(*outfix.rdfa(), lits_out);
|
||||
}
|
||||
|
||||
DEBUG_PRINTF("cannot extract literals from outfix type\n");
|
||||
|
||||
Reference in New Issue
Block a user