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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Events.pmod:292:    if (e) return e;       if (!all_data) read_all_data();       int i=search(all_data,sprintf("\nRegion %O",c));    if (i==-1) return UNDEFINED;       int j=search(all_data,"\nRegion \"",i+1);    if (j==-1) j=0x7fffffff;    -  array(Event) events=({}); -  mapping(Event:multiset(string)) eflags=([]); +  array(Event.Event) events=({}); +  mapping(Event.Event:multiset(string)) eflags=([]);    mapping(string:multiset(string)) flagy=([]);       foreach ( (all_data[i..j]/"\n")[2..], string line)    {    string whut,id="",flags="-";    Event.Event e;    if (sscanf(line,"%*[ \t]%[^ \t]%*[ \t]\"%s\"%*[ \t]%[-a-z]",    whut,id,flags)>=4 &&    whut!="" && whut[0]!='#')    switch (whut)