From 13d9f6ed5356ece9c061f40799e0ef5b8e6682be Mon Sep 17 00:00:00 2001 From: Terence Parr Date: Fri, 8 Jun 2012 17:04:46 -0700 Subject: [PATCH] add comment --- .../Java/src/org/antlr/v4/runtime/atn/ParserATNSimulator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/Java/src/org/antlr/v4/runtime/atn/ParserATNSimulator.java b/runtime/Java/src/org/antlr/v4/runtime/atn/ParserATNSimulator.java index 5d5e3b3db..45be9b5cb 100755 --- a/runtime/Java/src/org/antlr/v4/runtime/atn/ParserATNSimulator.java +++ b/runtime/Java/src/org/antlr/v4/runtime/atn/ParserATNSimulator.java @@ -750,7 +750,7 @@ public class ParserATNSimulator 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; }