pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:8468:    *! @constant NOTICE    *! @constant WARNING    *! @constant ERROR    *! @constant FATAL    *!    *! @seealso    *! @[report()]    */      /*! @decl void report(SeverityLevel severity, @ -  *! string filename, int linenumber, @ +  *! string filename, int(1..) linenumber, @    *! string subsystem, @    *! string message, mixed ... extra_args)    *!    *! Report a diagnostic from the compiler.    *!    *! @param severity    *! The severity of the diagnostic.    *!    *! @param filename    *! @param linenumber
pike.git/src/program.c:8540:    if (fun >= 0) {    apply_low(master_ob, fun, args);    return;    }    }       if (args > 5) {    f_sprintf(args - 4);    args = 5;    } -  get_all_args("report", args, "%d%W%i%W%W", +  get_all_args("report", args, "%d%W%+%W%W",    &level, &filename, &linenumber, &subsystem, &message);       /* Ignore informational level messages */    if (level >= REPORT_WARNING) {    if (master_ob && master_ob->prog) {    ref_push_string(filename);    push_int(linenumber);    ref_push_string(message);    if (level >= REPORT_ERROR) {    APPLY_MASTER("compile_error", 3);
pike.git/src/program.c:9434:    apply_external(1, CE_REPORT_FUN_NUM, args);    return;       apply_handler:    /* Ignore informational level messages */    if (level < REPORT_WARNING) return;    if (args > 5) {    f_sprintf(args - 4);    args = 5;    } -  get_all_args("report", args, "%d%W%i%W%W", +  get_all_args("report", args, "%d%W%+%W%W",    &level, &filename, &linenumber,    &subsystem, &message);       ref_push_string(filename);    push_int(linenumber);    ref_push_string(message);    apply_low(handler, fun, 3);    stack_pop_n_elems_keep_top(args);   }