pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:3137: Inside #if 0 and #if defined(PIKE_DEBUG)
   */    Pike_fatal("Inherit without intermediate levels.\n");    }   #endif   #endif       sub_ref = PTR_FROM_INT(inh->prog, cur_id - inh->identifier_level);       /* Check if the symbol was used before it was inherited. */    if ((c->lex.pragmas & ID_STRICT_TYPES) && +  (Pike_compiler->compiler_pass == COMPILER_PASS_LAST) &&    (sub_ref->id_flags & ID_USED)) {    struct identifier *sub_id = ID_FROM_PTR(inh->prog, sub_ref);    if (IDENTIFIER_IS_FUNCTION(sub_id->identifier_flags)) { -  if ((Pike_compiler->compiler_pass == COMPILER_PASS_LAST) && -  !pike_types_le(ID_FROM_PTR(Pike_compiler->new_program, +  if (!pike_types_le(ID_FROM_PTR(Pike_compiler->new_program,    new_ref)->type, sub_id->type, 0, 0)) {    yytype_report(REPORT_WARNING,    NULL, 0, sub_id->type,    NULL, 0, ID_FROM_PTR(Pike_compiler->new_program,    new_ref)->type,    0, "Type mismatch when overloading function %S.",    name);    }    } else {    struct identifier *new_id;