pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:7200:    lfun_compat_strings[iterator_lfun],    dmalloc_touch(struct program *, prog),    SEE_PROTECTED) < 0) {    /* One of them is missing. */    goto skip_special_cases;    }    }    }    }    } +  if (!IDENTIFIER_IS_C_FUNCTION(function_flags)) { +  /* Functions compiled by the Pike compiler +  * ignore extra arguments, so do not complain +  * if they are missing. +  */ +  aflags |= PT_FLAG_CMP_IGNORE_EXTRA_ARGS; +  }    /* Inhibit deprecation warnings during the comparison. */    c->lex.pragmas |= ID_NO_DEPRECATION_WARNINGS; -  if (!pike_types_le(type, lfun_type->u.type, 0, 0)) { +  if (!pike_types_le(type, lfun_type->u.type, aflags, 0)) {    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,