pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:4575:    else    name = trim_file_name(s);    }    else    if (catch (name = function_name (f))) name = "function";       object o = function_object([function(mixed...:void|mixed)]f);    if(object_program (o)) { // Check if it's an object in a way that    // (hopefully) doesn't call any functions    // in it (neither `== nor `!). +  +  if (objects[object_program (o)] == o) +  return describe_module (o) + name; +     string s;    if (!catch (s = sprintf("%O",o)) && s != "object")    return s+"->"+name;    }    return name;   }      /* 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.