TerminalNodeImpl.isErrorNode now tests for ErrorNode interface instead of ErrorNodeImpl implementation

This commit is contained in:
Sam Harwell 2012-03-03 21:57:49 -06:00
parent 80b3ec8c62
commit a948736729
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public interface ParseTree extends SyntaxTree {
return toString();
}
public boolean isErrorNode() { return this instanceof ErrorNodeImpl; }
public boolean isErrorNode() { return this instanceof ErrorNode; }
@Override
public String toString() {