Branch: Tag:

2000-11-08

2000-11-08 22:38:41 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

improved local variable checks

Rev: lib/modules/Calendar.pmod/mkrules.pike:1.6

10:   // and zic(8) is the usual compiler.      // pike mkrules.pike ../data/{africa,antarctica,asia,australasia,backward,etcetera,europe,northamerica,pacificnew,southamerica,systemv} - // $Id: mkrules.pike,v 1.5 2000/10/21 06:28:15 nilsson Exp $ + // $Id: mkrules.pike,v 1.6 2000/11/08 22:38:41 hubbe Exp $      #pike __REAL_VERSION__   
202:       yjd=y1->julian_day();    leap=y1->leap_year(); -  int d1=LDAYL(d1,wd); +  d1=LDAYL(d1,wd);       yjd=y2->julian_day();    leap=y2->leap_year(); -  int d2=FIX_L(d2); +  d2=FIX_L(d2);       return d1==d2;    }