Branch: Tag:

2009-02-15

2009-02-15 16:15:24 by Stephen R. van den Berg <srb@cuci.nl>

Support accumulating more than just mappings.

Rev: lib/modules/Parser.pmod/Tabular.pike:1.4

329:   private void add2map(mapping res,string name,mixed entry)   { mapping|array tm = res[name];    if(tm) -  { if(mappingp(tm)) -  tm=({tm,entry}); -  else +  { if(arrayp(tm))    tm+=({entry}); -  +  else +  tm=({tm,entry});    res[name]=tm;    }    else