pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:1240:    * expected == T_ARRAY.    */    switch(top->type & PIKE_T_MASK) {    case T_FUNCTION:    case T_MANY:    case T_TUPLE:    case T_MAPPING:    case T_OR:    case T_AND:    case PIKE_T_RING: +  case T_ARRAY: +  case T_STRING:    case PIKE_T_TRANSITIVE:    /* Both car & cdr. */    push_finished_type(top->cdr);    push_finished_type(top->car);    break;    case T_MULTISET:    case T_NOT:    case T_TYPE:    case T_PROGRAM:    case PIKE_T_AUTO:    /* car */    push_finished_type(top->car);    break;    case T_SCOPE:    case T_ASSIGN: -  case T_ARRAY: -  case T_STRING: +     /* cdr */    push_finished_type(top->cdr);    break;    case T_INT:    case T_OBJECT:    case T_FLOAT:    case T_MIXED:    case T_VOID:    case T_ZERO:    case PIKE_T_UNKNOWN: