pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   /* -*- Pike -*-    * -  * $Id: master.pike.in,v 1.106 2000/03/25 21:25:31 hubbe Exp $ +  * $Id: master.pike.in,v 1.107 2000/03/25 21:28:37 hubbe Exp $    *    * Master-file for Pike.    *    * Based on master.pike 1.67.    */      // Some configurable parameters useful for debugging      #define PIKE_AUTORELOAD   
pike.git/lib/master.pike.in:562:   }      /* This function is called when the drivers wants to cast a string    * to an object because of an implict or explicit cast. This function    * may also receive more arguments in the future.    */   object cast_to_object(string oname, string current_file)   {    if(object o=low_cast_to_object(oname, current_file))    return o; -  error(sprintf("Cast '%s' to object failed%s.\n",file, -  current_file?sprintf("for '%s'",current_file),"")); +  error("Cast '"+oname+"' to object failed"+ +  (current_file?sprintf("for '%s'",current_file):"")+".\n"); +  return 0;   }      class dirnode   {    string dirname;    mixed module;    mapping cache=([]);    array files;       void create(string name)