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.
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to