pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:4528:    /* NB: Need referenced msnodes! */    if (prog->inherits->annotations) {    struct multiset *l = prog->inherits->annotations;    ptrdiff_t pos;    /* NB: multiset_first() adds an msnode_ref. */    for (pos = multiset_first(l); pos >= 0; pos = multiset_next(l, pos)) {    struct object *o;    struct program *p;    struct inherit *inh;    int fun; -  push_multiset_value(l, nodepos); +  push_multiset_index(l, pos);    if (TYPEOF(Pike_sp[-1]) == PIKE_T_OBJECT) {    o = Pike_sp[-1].u.object;    p = o->prog;    if (p) {    inh = p->inherits + SUBTYPEOF(Pike_sp[-1]);    p = inh->prog;    fun = find_identifier("end_pass", p);    if (fun >= 0) {    fun += inh->identifier_level;    push_int(Pike_compiler->compiler_pass);