allow atn state optimization; sam fixed.
This commit is contained in:
parent
492980de71
commit
78d8002303
|
@ -57,7 +57,7 @@ public class ATNOptimizer {
|
|||
|
||||
public static void optimize(@NotNull Grammar g, @NotNull ATN atn) {
|
||||
optimizeSets(g, atn);
|
||||
// optimizeStates(atn); // TODO leads to class cast exception
|
||||
optimizeStates(atn);
|
||||
}
|
||||
|
||||
private static void optimizeSets(Grammar g, ATN atn) {
|
||||
|
|
Loading…
Reference in New Issue