[mkgmap-dev] [mkgmap-svn] Commit: r3442: no-dup
From Steve Ratcliffe steve at parabola.me.uk on Sat Feb 7 09:45:37 GMT 2015
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
- Previous message: [mkgmap-dev] Commit: r3442: no-dup
- Next message: [mkgmap-dev] java error - UnknownFormatConversionException: Conversion = '''
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list