Branch: Tag:

2010-10-10

2010-10-10 21:56:30 by Martin Stjernholm <mast@lysator.liu.se>

Improved describe_function for top level functions in modules.

4582:    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;