add comment

This commit is contained in:
Terence Parr 2012-06-08 17:04:46 -07:00
parent abc0e2ef87
commit 13d9f6ed53
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ public class ParserATNSimulator<Symbol extends Token> extends ATNSimulator {
return st.target;
}
}
else if ( trans instanceof RangeTransition ) {
else if ( trans instanceof RangeTransition ) { // TODO: can't happen in parser, right? remove
RangeTransition rt = (RangeTransition)trans;
if ( ttype>=rt.from && ttype<=rt.to ) return rt.target;
}