diff --git a/src/main/java/edu/kit/typicalc/model/parser/ParseError.java b/src/main/java/edu/kit/typicalc/model/parser/ParseError.java index d6664c3..22d119a 100644 --- a/src/main/java/edu/kit/typicalc/model/parser/ParseError.java +++ b/src/main/java/edu/kit/typicalc/model/parser/ParseError.java @@ -258,11 +258,11 @@ public final class ParseError { ParseError that = (ParseError) o; return wrongChar == that.wrongChar && correctChar == that.correctChar && position == that.position && causeEnum == that.causeEnum && cause.equals(that.cause) && needed.equals(that.needed) - && expected.equals(that.expected) && term.equals(that.term) && errorType.equals(that.errorType); + && expected.equals(that.expected) && additional.equals(that.additional) && term.equals(that.term) && errorType.equals(that.errorType); } @Override public int hashCode() { - return Objects.hash(causeEnum, cause, needed, expected, term, wrongChar, correctChar, position, errorType); + return Objects.hash(causeEnum, cause, needed, expected, additional, term, wrongChar, correctChar, position, errorType); } }