pike.git / lib / modules / Parser.pmod / Tabular.pike

version» Context lines:

pike.git/lib/modules/Parser.pmod/Tabular.pike:322:    else    werror("%d %s\n",recordcount,out);    }    recordcount++;    return options->fold?ret:([options->name:ret]);   }      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    res[name]=entry;   }      //! This function can be used to manually skip empty lines in   //! the input. This is unnecessary if no argument is   //! specified for the fetch() function.   //!