[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6773]
This commit is contained in:
parrt 2010-03-25 16:52:08 -08:00
parent e52880931f
commit f7445e961b
1 changed files with 5 additions and 6 deletions

View File

@ -140,8 +140,7 @@ public class LinearApproximator {
IntervalSet[] look = altLook.get(a);
for (int k=1; k<=depth; k++) {
DFAState t = new DFAState(dfa);
OrderedHashSet[] configs = altConfigs.get(a);
t.nfaConfigs.addAll(configs[k]);
t.nfaConfigs = altConfigs.get(a)[k];
dfa.addState(t);
if ( k==depth ) dfa.defineAcceptState(a, t);
Edge e = new Edge(t, look[k]);