pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:3953:    remap->markers[marker_set] = allocate_mapping(10);    }       SET_SVAL(key, T_INT, NUMBER_NUMBER, integer, marker);    old = low_mapping_lookup(remap->markers[marker_set], &key);    if (value) {    if (old && (TYPEOF(*old) == T_TYPE)) {    value = both = or_pike_types(old->u.type, value, 0);    }    SET_SVAL(val, T_TYPE, 0, type, value); -  } else if (!old) { +  } else if (!(old && TYPEOF(*old) == T_TYPE)) {    SET_SVAL(val, T_INT, NUMBER_NUMBER, integer, 0);    } else { -  val = *old; +  return;    }    mapping_insert(remap->markers[marker_set], &key, &val);    free_type(both);   }   #define store_marker(REMAP, M, T, F) store_marker(REMAP, M, debug_malloc_pass(T), F)      /**    * Copy marker assignments from remap->markers to    * their corresponding T_ASSIGN nodes (aka backpatch).    *