pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:1610:   {    field &= (BIT_BASIC|BIT_COMPLEX);    if (!field) {    /* No values. */    push_type(PIKE_T_UNKNOWN);    } else if (field == (BIT_BASIC|BIT_COMPLEX)) {    /* All values. */    push_type(T_MIXED);    } else {    /* Check the bits... */ -  push_type(T_ZERO); +  push_type(PIKE_T_UNKNOWN);       if (field & BIT_COMPLEX) {    if (field & BIT_ARRAY) {    push_type(T_MIXED);    push_unlimited_array_type(T_ARRAY);    push_type(T_OR);    }    if (field & BIT_MAPPING) {    push_type(T_MIXED);    push_type(T_MIXED);
pike.git/src/pike_types.cmod:12595:    struct pike_type *tmp1 = get_type_of_svalue(a->item+i);    struct pike_type *tmp2 = or_pike_types(arg_type, tmp1, 1);    free_type(arg_type);    free_type(tmp1);    arg_type = tmp2;    }    push_finished_type(arg_type);    free_type(arg_type);    }   #else /* !0 */ -  if (a->size) { -  push_type_field(a->type_field); -  }else -  push_finished_type(zero_type_string); +  push_type_field(a->size ? a->type_field : 0);   #endif /* 0 */    push_int_type(a->size, a->size);    push_type(T_ARRAY);    return pop_unfinished_type();    }       case T_MULTISET:    type_stack_mark();    if (multiset_sizeof(s->u.multiset)) {    push_type(T_MIXED);