Changes by danie
This commit is contained in:
parent
347e78fc98
commit
d3955715b8
1 changed files with 1 additions and 0 deletions
|
|
@ -160,6 +160,7 @@ public class NFAImpl implements NFA {
|
||||||
if (transition.toState().equals(state)) {
|
if (transition.toState().equals(state)) {
|
||||||
transition = new Transition(transition.fromState(), transition.readSymbol(), newState);
|
transition = new Transition(transition.fromState(), transition.readSymbol(), newState);
|
||||||
}
|
}
|
||||||
|
tempTransitions.add(transition);
|
||||||
}
|
}
|
||||||
for (String accState : other.getAcceptingStates()) {
|
for (String accState : other.getAcceptingStates()) {
|
||||||
if (accState.equals(state)) {
|
if (accState.equals(state)) {
|
||||||
|
|
|
||||||
Reference in a new issue