pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:4530:    struct program *np=(q?q:Pike_compiler)->new_program;    struct reference funp;    struct program *p;    int d, num_id_refs;       if(f==-1) return -1;       p = np->inherits[i].prog;       if ((q?q:Pike_compiler)->compiler_pass == 2) { -  struct identifier *id = ID_FROM_INT(p, i); +  struct identifier *id = ID_FROM_INT(p, f);    if (((id->identifier_flags & IDENTIFIER_TYPE_MASK) ==    IDENTIFIER_PIKE_FUNCTION) && (id->func.offset == -1)) {    /* Prototype. */    return -1;    }    }       funp = p->identifier_references[f];    funp.inherit_offset += i;    funp.id_flags = (funp.id_flags & ~ID_INHERITED) | ID_INLINE|ID_HIDDEN;