stick with existing not iterative walker by default.
This commit is contained in:
parent
c258fd2a5d
commit
228bcac063
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue