Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug with dot output generator

  • Loading branch information...
commit cd5e6d69c4bdf8490fb161fe6288340a9319c572 1 parent 1deee71
@mattchamb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  MParse.OutputGenerators/DotOutputGenerator.cs
View
2  MParse.OutputGenerators/DotOutputGenerator.cs
@@ -39,7 +39,7 @@ private void WriteTransitions(StringBuilder output, TransitionTable table)
StateToDotString(stateTransition.Value),
stateTransition.Key);
output.AppendLine();
- if (!visited[stateTransition.Value])
+ if (!visited[stateTransition.Value] && !plan.Contains(stateTransition.Value))
plan.Enqueue(stateTransition.Value);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.