pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:3997:       case T_FUNCTION:    case T_MANY:    case PIKE_T_RING:    case T_TUPLE:    case T_MAPPING:    case T_OR:    case T_AND:    case T_ARRAY:    case T_STRING: -  case PIKE_T_TRANSITIVE: +     case PIKE_T_OPERATOR | 0x8000:    /* t->car and t->cdr are nodes. */    push_and_fixup_markers(t->cdr, remap, flags);    push_and_fixup_markers(t->car, remap, flags);    push_type(t->type);    break;    -  +  case PIKE_T_TRANSITIVE: +  push_finished_type(t->cdr); +  push_and_fixup_markers(t->car, remap, flags); +  push_type(t->type); +  break; +     case '0': case '1': case '2': case '3': case '4':    case '5': case '6': case '7': case '8': case '9':    case T_MIXED:    case T_VOID:    case T_ZERO:    case T_FLOAT:    case T_INT:    case T_OBJECT:    /* Leaf type. */    push_finished_type(t);
pike.git/src/pike_types.cmod:4239:    /* Binary */    case T_OR:    case T_AND:    case T_FUNCTION:    case T_MANY:    case T_TUPLE:    case T_MAPPING:    case PIKE_T_RING:    case T_ARRAY:    case T_STRING: -  case PIKE_T_TRANSITIVE: +     push_remap_markers(t->car, remap, flags);    push_remap_markers(t->cdr, remap, flags);    push_reverse_type(t->type);    break; -  +  +  /* Special */ +  case PIKE_T_TRANSITIVE: +  push_remap_markers(t->car, remap, flags); +  push_finished_type(t->cdr); +  push_reverse_type(t->type); +  break;    }   }      /**    * Remap markers (if any) in the type.    */   static struct pike_type *remap_markers(struct pike_type *t,    struct remap_state *remap,    enum pt_remap_flags flags)   {