pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:7363:    /* Inhibit deprecation warnings during the comparison. */    c->lex.pragmas |= ID_NO_DEPRECATION_WARNINGS;    if (!pike_types_le(type, lfun_type->u.type)) {    int level = REPORT_NOTICE;    if (!match_types(type, lfun_type->u.type)) {    level = REPORT_ERROR;    } else if (c->lex.pragmas & ID_STRICT_TYPES) {    level = REPORT_WARNING;    }    if (level != REPORT_NOTICE) { -  yytype_report(level, NULL, 0, lfun_type->u.type, -  NULL, 0, type, 0, -  "Type mismatch for callback function %S:", name); +  yytype_report(level, +  NULL, 0, type, +  NULL, 0, lfun_type->u.type, +  0, "Type mismatch for callback function %S:", name);    }    }    c->lex.pragmas = orig_pragmas;       /* NB: define_function() is called multiple times... */    if (((flags & (ID_PROTECTED|ID_PRIVATE)) != ID_PROTECTED) && func &&    !(orig_pragmas & ID_NO_DEPRECATION_WARNINGS) &&    !deprecated_typep(type)) {    if (!(flags & (ID_PROTECTED|ID_PRIVATE))) {    yywarning("Lfun %S() is public.", name);