diff options
Diffstat (limited to 'util/lexgen/nfa.cpp')
-rw-r--r-- | util/lexgen/nfa.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/util/lexgen/nfa.cpp b/util/lexgen/nfa.cpp index 5ae3beade5..1414d1eedd 100644 --- a/util/lexgen/nfa.cpp +++ b/util/lexgen/nfa.cpp @@ -288,7 +288,6 @@ DFA NFA::toDFA() const if (transition.key() == Epsilon && epsilonStates.contains(transition.value())) epsilonStates.insert(i, epsilonStates.value(transition.value())); } - } while (lastCount != epsilonStates.count()); for (int i = 0; i < states.count(); ++i) { @@ -313,7 +312,6 @@ DFA NFA::toDFA() const */ } - QSet<InputType> validInput; foreach (const State &s, states) for (TransitionMap::ConstIterator it = s.transitions.constBegin(), @@ -504,5 +502,3 @@ DFA DFA::minimize() const return *this; } - - |