pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:2772:    } else if (!t1) {    t = t2;    ret = 1;    } else if (!t2) {    t = t1;    ret = -1;    } else if (zero_implied && (t1->type == T_ZERO)) {    t = t2;    } else if (zero_implied && (t2->type == T_ZERO)) {    t = t1; +  } else if ((t1->type == T_NOT) && pike_types_le(t1->car, t2)) { +  t = mixed_type_string; +  } else if ((t2->type == T_NOT) && pike_types_le(t2->car, t1)) { +  t = mixed_type_string;    } else if ((t1->type ^ '0') < (t2->type ^ '0')) {    /* Note: Adjusted order to get markers first. */    t = t1;    ret = -1;    } else if ((t1->type ^ '0') > (t2->type ^ '0')) {    /* Note: Adjusted order to get markers first. */    t = t2;    ret = 1;    } else {   #ifdef PIKE_DEBUG