
2 Apr
2014
2 Apr
'14
10:53 a.m.
Version mkgmap-r3160 was committed by steve on Wed, 02 Apr 2014 Fix 'Invalid rule' problem with rules containing OR terms. Fairly complex rules that did not start with a definite key=value term and that also included some terms that were or'ed together would not always be resolved correctly and resulted in an error. A group of alternatives is now weighted according to the term with the worst selectivity, not the best. So alternatives will only be brought to the front if they are all definite key=value terms and other terms are less selective. Also we arrange (A&B)&C to A&(B&C) so that the first term can be recognised properly.