Hi,

since mkgmap r3671 the following statement in my lines-file is marked as error:

railway=* & (gauge ~ '\d*;1435' | gauge ~ '1435;\d*') & building!=* & area!=yes & tunnel=yes [0x11e11 resolution 19]

The error message is:

Error in style: Error: (lines:196): Invalid rule expression: ((($gauge~'\d*;1435')|($gauge~'1435;\d*'))&(($building!=*&($area!=yes&($tunnel='yes')))&$railway=*))
Could not open style maendle
Number of ExitExceptions: 1

Omitting the term "& tunnel=yes" makes the parser happy, but that's not what I want.

Rearranging the statement to this form

railway=* & building!=* & area!=yes & tunnel=yes & (gauge ~ '\d*;1435' | gauge ~ '1435;\d*') [0x11e11 resolution 19]

solves the problem.

I discovered this problem in r3672 and guess r3671 introduced it, until r3669 it was fine, in the actual r3674 the problem persists.

--
Lutz Mändle         Internet: [email protected]
Berlin/Germany

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to