Branch: Tag:

2000-09-08

2000-09-08 03:24:50 by Martin Stjernholm <mast@lysator.liu.se>

Somewhat briefer sprintf strings.

Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.17
Rev: server/etc/modules/RXML.pmod/PXml.pike:1.51

4:   //!   //! Created 2000-01-28 by Martin Stjernholm.   //! - //! $Id: PEnt.pike,v 1.16 2000/08/15 01:20:05 mast Exp $ + //! $Id: PEnt.pike,v 1.17 2000/09/08 03:24:49 mast Exp $      //#pragma strict_types // Disabled for now since it doesn't work well enough.   
96: Inside #if defined(OBJ_COUNT_DEBUG)
  #ifdef OBJ_COUNT_DEBUG   string _sprintf()   { -  return sprintf ("RXML.PEnt(%O,%O,%O)%s", -  context, type, tag_set, +  return sprintf ("RXML.PEnt(%O,%O)%s", type, tag_set,    __object_marker ? "[" + __object_marker->count + "]" : "");   }   #else   string _sprintf()   { -  return sprintf ("RXML.PEnt(%O,%O,%O)", context, type, tag_set); +  return sprintf ("RXML.PEnt(%O,%O)", type, tag_set);   }   #endif