stick with existing not iterative walker by default.

This commit is contained in:
parrt 2016-11-27 09:42:23 -08:00
parent c258fd2a5d
commit 228bcac063
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.RuleContext; import org.antlr.v4.runtime.RuleContext;
public class ParseTreeWalker { public class ParseTreeWalker {
public static final ParseTreeWalker DEFAULT = new IterativeParseTreeWalker(); public static final ParseTreeWalker DEFAULT = new ParseTreeWalker();
public void walk(ParseTreeListener listener, ParseTree t) { public void walk(ParseTreeListener listener, ParseTree t) {
if ( t instanceof ErrorNode) { if ( t instanceof ErrorNode) {