pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1: - /* $Id: master.pike.in,v 1.52 1999/06/19 19:50:19 hubbe Exp $ + /* $Id: master.pike.in,v 1.53 1999/06/22 17:38:09 mirar 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:941:    * Nothing strange about it.    * Note that previous_object cannot be trusted in ths function, because    * the compiler calls this function.    */   void compile_error(string file,int line,string err)   {    if(!inhibit_compile_errors)    {    werror(sprintf("%s:%d:%s\n",trim_file_name(file),line,err));    } -  else if(functionp(inhibit_compile_errors)) +  else if(objectp(inhibit_compile_errors) || +  programp(inhibit_compile_errors) || +  functionp(inhibit_compile_errors))    {    inhibit_compile_errors(file,line,err);    }   }      /*    * This function is called whenever a compiling error occurs,    * Nothing strange about it.    * Note that previous_object cannot be trusted in ths function, because    * the compiler calls this function.