add Sam's getConflictingAlts potential bug fix as comment

This commit is contained in:
Terence Parr 2012-07-28 18:33:05 -07:00
parent 109880b7ab
commit 3f26d42d53
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}