forked from jasder/antlr
add Sam's getConflictingAlts potential bug fix as comment
This commit is contained in:
parent
109880b7ab
commit
3f26d42d53
|
@ -1238,6 +1238,12 @@ public class ParserATNSimulator<Symbol extends Token> extends ATNSimulator {
|
|||
|
||||
if ( ambigAlts.isNil() ) return null;
|
||||
|
||||
// are any configs not represented in ambig alt sets
|
||||
// for (ATNConfig config : configs) {
|
||||
// if (!ambigAlts.contains(config.alt)) {
|
||||
// return null;
|
||||
// }
|
||||
// }
|
||||
return ambigAlts;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue