pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:3923:    e=dooptcode(s,    mknode(F_COMMA_EXPR,    Pike_compiler->init_node,    mknode(F_RETURN,mkintnode(0),0)),    function_type_string,    ID_PROTECTED);    Pike_compiler->init_node=0;    } else if (finish == 2) {    /* Called from decode_value(). */    e = low_find_lfun(Pike_compiler->new_program, LFUN___INIT); -  if ((e != -1) && !ID_FROM_INT(Pike_compiler->new_program, e)->func.offset) { +  if ((e != -1) && +  (ID_FROM_INT(Pike_compiler->new_program, e)->func.offset == -1)) {    /* Just a prototype. Make sure not to call it. */    e = -1;    }    }else{    /* Note that we may zap an __INIT that existed in pass 1 here.    * This is intentional to avoid having to keep track of whether    * __INIT() is just a prototype or not.    */    e=-1;    }