pike.git / lib / modules / Calendar.pmod / tzdata / checktab.awk

version» Context lines:

pike.git/lib/modules/Calendar.pmod/tzdata/checktab.awk:56:    if (NF != 3 && NF != 4) {    printf "%s:%d: wrong number of columns\n", \    zone_table, zone_NR >>"/dev/stderr"    status = 1    }    split($1, cca, /,/)    cc = cca[1]    coordinates = $2    tz = $3    comments = $4 -  if (cc < cc0) { +  +  # Don't complain about a special case for Crimea in zone.tab. +  # FIXME: zone.tab should be removed, since it is obsolete. +  # Or at least put just "XX" in its country-code column. +  if (cc < cc0 \ +  && !(zone_table == "zone.tab" \ +  && tz0 == "Europe/Simferopol")) {    printf "%s:%d: country code '%s' is out of order\n", \    zone_table, zone_NR, cc >>"/dev/stderr"    status = 1    }    cc0 = cc -  +  tz0 = tz    tztab[tz] = 1    tz2comments[tz] = comments    tz2NR[tz] = zone_NR    for (i in cca) {    cc = cca[i]    cctz = cc tz    cctztab[cctz] = 1    if (cc2name[cc]) {    cc_used[cc]++    } else {