Use the iterative version of the ParseTreeWalker as default implementation

This commit is contained in:
Tom Wieczorek 2016-07-20 09:18:08 +02:00
parent 7ca7acd084
commit ea31615804
No known key found for this signature in database
GPG Key ID: 97132D3CD100563E
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;
public class ParseTreeWalker {
public static final ParseTreeWalker DEFAULT = new ParseTreeWalker();
public static final ParseTreeWalker DEFAULT = new IterativeParseTreeWalker();
public void walk(ParseTreeListener listener, ParseTree t) {
if ( t instanceof ErrorNode) {