Branch: Tag:

2003-01-15

2003-01-15 21:23:40 by Martin Stjernholm <mast@lysator.liu.se>

Made TagSet._sprintf more robust wrt destructed objects(?).

Rev: server/etc/modules/RXML.pmod/module.pmod:1.305

2:   //   // Created 1999-07-30 by Martin Stjernholm.   // - // $Id: module.pmod,v 1.304 2003/01/13 17:57:56 mast Exp $ + // $Id: module.pmod,v 1.305 2003/01/15 21:23:40 mast Exp $      // Kludge: Must use "RXML.refs" somewhere for the whole module to be   // loaded correctly.
1246:    {    return "RXML.TagSet(" +    // No, the owner isn't written unambiguously; we try to be brief here. -  (owner && (owner->is_module ? +  (string) (owner && (owner->is_module ?    owner->module_local_id() : -  owner->name)) + "," + tag_set_component_names() + ")" + OBJ_COUNT; +  owner->name)) + +  "," + tag_set_component_names() + ")" + OBJ_COUNT;    //return "RXML.TagSet(" + id_number + ")" + OBJ_COUNT;    }