forked from jasder/antlr
TerminalNodeImpl.isErrorNode now tests for ErrorNode interface instead of ErrorNodeImpl implementation
This commit is contained in:
parent
80b3ec8c62
commit
a948736729
|
@ -89,7 +89,7 @@ public interface ParseTree extends SyntaxTree {
|
||||||
return toString();
|
return toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isErrorNode() { return this instanceof ErrorNodeImpl; }
|
public boolean isErrorNode() { return this instanceof ErrorNode; }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
|
Loading…
Reference in New Issue