pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1: - /* $Id: master.pike.in,v 1.42 1999/03/17 21:44:52 hubbe Exp $ + /* $Id: master.pike.in,v 1.43 1999/03/19 11:14:27 hubbe Exp $    *    * Master-file for Pike.    *    * Based on master.pike 1.67.    */      // Some configurable parameters useful for debugging      // Used by describe_backtrace() et al.   #if !defined(BT_MAX_STRING_LEN) || (BT_MAX_STRING_LEN <= 0)
pike.git/lib/master.pike.in:1088:      /* It is possible that this should be a real efun,    * it is currently used by handle_error to convert a backtrace to a    * readable message.    */   string describe_backtrace(mixed *trace)   {    int e;    string ret;    -  if(arrayp(trace) && sizeof(trace)==2 && stringp(trace[0])) +  if((arrayp(trace) && sizeof(trace)==2 && stringp(trace[0])) || +  (objectp(trace) && trace->is_generic_error))    {    ret=trace[0];    trace=trace[1];    }else{    ret="";    }       if(!arrayp(trace))    {    ret+="No backtrace.\n";