
On 07/02/15 09:23, svn commit wrote:
Version mkgmap-r3442 was committed by steve on Sat, 07 Feb 2015
no-dup
Ahrg! This is the commit for "avoid duplicate evaluation of rules"... I will change the commit message to this: Avoid duplicate evaluation of rule containing multiple OR terms. A rule consisting of an initial series of three or more terms OR'ed together and then AND'ed with another term would be mangled during optimisation so that any action block could be executed more than once. Eg: (a=2 | b=4 | c=3) & highway=primary { echo '...'; } This is because only the first two items in a chain or OR'ed terms that are then AND'ed with another term were dealt with properly. Now the 'highway=primary' term is properly distributed across the whole of the bracketed term: a=2 & highway=primary | b=4 & highway=primary | c=3 & highway=primary ..Steve