pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: interpret.c,v 1.376 2006/03/17 18:01:07 grubba Exp $ + || $Id: interpret.c,v 1.377 2006/03/17 18:01:48 grubba Exp $   */      #include "global.h"   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"
pike.git/src/interpret.c:2394:       free_svalue(& throw_value);    throw_value.type=T_INT;    if(SETJMP_SP(recovery, args))    {    if(fun_name) call_handle_error();    push_int(0);    }else{    if (fun >= 0) {    apply_low(o,fun,args); -  } else if (handle_errors) { -  Pike_error("Cannot call unknown function \"%s\".\n", handle_errors); +  } else if (fun_name) { +  Pike_error("Cannot call unknown function \"%s\".\n", fun_name);    } else {    pop_n_elems(args);    push_int(0);    }    }    UNSETJMP(recovery);   }      PMOD_EXPORT void safe_apply_low(struct object *o, int fun, int args)   {