pike.git / lib / modules / Calendar.pmod / mkrules.pike

version» Context lines:

pike.git/lib/modules/Calendar.pmod/mkrules.pike:832:       zone_names->SystemV = 0;    zone_names->Etc = 0;       // Historical ordering...    foreach (({"America", "Pacific", "Antarctica", "Atlantic", "Indian",    "Europe", "Africa", "Asia", "Australia" }), string co) {    t +=    sprintf(" %-13s({%-=60s\n",    sprintf("%O:",co), -  map(zs[co],lambda(string s) { return sprintf("%O",s); }) +  map(sort(zs[co]),lambda(string s) { return sprintf("%O",s); })    *", "+"}),");    zone_names[co] = 0;    }    // Take care of any remaining zones (probably none).    foreach (sort(indices(zone_names)),string co) {    t +=    sprintf(" %-13s({%-=60s\n",    sprintf("%O:",co), -  map(zs[co],lambda(string s) { return sprintf("%O",s); }) +  map(sort(zs[co]),lambda(string s) { return sprintf("%O",s); })    *", "+"}),");    }    t += "]);\n\n" +    fragments[1];       // Update the abbreviation table as well.    fragments = t/" abbr2zones=";    if (sizeof(fragments) == 1) fragments = t/" abbr2zones =";    if (sizeof(fragments) > 2)    fragments = ({ fragments[0], fragments[1..] * " abbr2zones =" });