Branch: Tag:

2022-05-07

2022-05-07 13:45:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Fix subtraction of void.

5857:    }    }    if (b->type == T_VOID) { +  if (op & PT_BINOP_AND) {    if (aflags & PT_FLAG_CMP_VOIDABLE) {    a = b;    goto recur;    } -  +  }    if (bflags & (PT_FLAG_CMP_NULLABLE | PT_FLAG_CMP_VOID_IS_ZERO)) {    b = zero_type_string;    goto recur;