pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:7162:    dmalloc_touch(struct program *,    p),    SEE_PROTECTED);       if ((i < 0) && (lfun == LFUN__DESTRUCT)) {    /* Try the Pike 8.0 compatibility name. */    i = really_low_find_shared_string_identifier(compat_lfun_destroy_string,    dmalloc_touch(struct program *,    p),    SEE_PROTECTED); -  if ((i >= 0) && !(p->flags & PROGRAM_FINISHED)) { +  if ((i >= 0) && !(p->flags & PROGRAM_FINISHED) && !TEST_COMPAT(8,0)) {    yywarning("Compat: Substituting destroy() for _destruct().");    }    }       if (i < 0 || !(p->flags & PROGRAM_FIXED)) {    return i;    }    id = ID_FROM_INT(p, i);    if (IDENTIFIER_IS_PIKE_FUNCTION(id->identifier_flags) &&    (id->func.offset == -1)) {