use RelevantState inside the lastStartState predicate

Co-authored-by: Arthur Baars <aibaars@github.com>
This commit is contained in:
Erik Krogh Kristensen
2022-09-05 11:22:12 +02:00
committed by GitHub
parent c38062ce93
commit 0162bc3c77

View File

@@ -890,7 +890,7 @@ module PrefixConstruction<isCandidateSig/1 isCandidate> {
private predicate lastStartState(RelevantState state) {
exists(RegExpRoot root |
state =
max(State s, Location l |
max(RelevantState s, Location l |
isStartState(s) and
getRoot(s.getRepr()) = root and
l = s.getRepr().getLocation()