pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:3782:    return;    }       /* FIXME: Use the type flags to detect whether we can just push    * the type verbatim.    */       switch(t->type & PIKE_T_MASK) {    case T_ASSIGN:    { -  int marker = alloc_remap_marker(remap, CAR_TO_IN(t), flags); +  int marker = alloc_remap_marker(remap, CAR_TO_INT(t), flags);    push_remap_markers(t->cdr, remap, flags);    push_assign_type(marker);    break;    }       case '0': case '1': case '2': case '3': case '4':    case '5': case '6': case '7': case '8': case '9':    { -  int marker = remap_marker(remap, a->type, flags); +  int marker = remap_marker(remap, t->type, flags);    if (!marker) {    /* FIXME: Improved error handling here. */    push_type(T_MIXED);    } else {    push_type(marker);    }    break;    }       case T_NAME:
pike.git/src/pike_types.cmod:3851:    case PIKE_T_MIXED:    push_finished_type(t);    break;       /* Unary */    case T_PROGRAM:    case T_MULTISET:    case T_NOT:    case T_TYPE:    case PIKE_T_AUTO: -  push_remap_type(t->car, remap, flags); +  push_remap_markers(t->car, remap, flags);    push_type(t->type);    break;       /* 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_type(t->car, remap, flags); -  push_remap_type(t->cdr, remap, flags); +  push_remap_markers(t->car, remap, flags); +  push_remap_markers(t->cdr, remap, flags);    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,