From 5d60e856170ceed84d487e4f991a3250f19c4aba Mon Sep 17 00:00:00 2001 From: parrt Date: Tue, 3 Jan 2012 11:07:49 -0800 Subject: [PATCH] rm trace ATN state stuff. Will think about when we do debugging. [git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9792] --- .../Java/src/org/antlr/v4/runtime/Parser.java | 16 ++++++++-------- .../org/antlr/v4/runtime/ParserRuleContext.java | 10 +++++----- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/runtime/Java/src/org/antlr/v4/runtime/Parser.java b/runtime/Java/src/org/antlr/v4/runtime/Parser.java index 90688e7a9..b1aeda4c3 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/Parser.java +++ b/runtime/Java/src/org/antlr/v4/runtime/Parser.java @@ -132,13 +132,13 @@ public abstract class Parser extends Recognizer getListener() { return _listener; @@ -469,6 +469,6 @@ public abstract class Parser extends Recognizer extends RuleContext { * * This does not trace states visited during prediction. */ - public List states; +// public List states; /** Current ATN state number we are executing. * @@ -168,10 +168,10 @@ public class ParserRuleContext extends RuleContext { } } - public void trace(int s) { - if ( states==null ) states = new ArrayList(); - states.add(s); - } +// public void trace(int s) { +// if ( states==null ) states = new ArrayList(); +// states.add(s); +// } public void addChild(Token matchedToken) { TerminalNodeImpl t = new TerminalNodeImpl(matchedToken);