Branch: Tag:

2000-07-05

2000-07-05 23:09:00 by Martin Stjernholm <mast@lysator.liu.se>

Removed the low_tags/low_containers compatibility code that isn't used anymore.

Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.15
Rev: server/etc/modules/RXML.pmod/PXml.pike:1.47
Rev: server/etc/modules/RXML.pmod/module.pmod:1.93
Rev: server/etc/modules/RXML.pmod/refs.pmod:1.8

4:   //!   //! Created 2000-01-28 by Martin Stjernholm.   //! - //! $Id: PEnt.pike,v 1.14 2000/03/18 03:33:17 mast Exp $ + //! $Id: PEnt.pike,v 1.15 2000/07/05 23:08:59 mast Exp $      //#pragma strict_types // Disabled for now since it doesn't work well enough.   
26: Inside #if defined(OLD_RXML_COMPAT)
   clear_entities();    if (not_compat) {   #endif -  array(RXML.TagSet) list = ({tag_set}); -  for (int i = 0; i < sizeof (list); i++) { -  array(RXML.TagSet) sublist = list[i]->imported; -  if (sizeof (sublist)) -  list = list[..i] + sublist + list[i + 1..]; -  } -  for (int i = sizeof (list) - 1; i >= 0; i--) -  if (list[i]->low_entities) add_entities (list[i]->low_entities); +  add_entities (tag_set->get_string_entities());   #ifdef OLD_RXML_COMPAT    }   #endif