expr: Fix silly bug in equality check

This commit is contained in:
Laria 2021-12-16 23:42:11 +01:00
parent 84f127bfec
commit 10a99d0b1e

View file

@ -861,7 +861,7 @@ apfl_expr_eq(struct apfl_expr a, struct apfl_expr b)
return false;
}
if (apfl_position_eq(a.position, b.position)) {
if (!apfl_position_eq(a.position, b.position)) {
return false;
}