logo separator

[mkgmap-dev] Error in style file relations?

From Steve Ratcliffe steve at parabola.me.uk on Sat Feb 3 10:51:14 GMT 2018

Hi Gerd

> I did not understand the exact meaning of the error message
> 
> Error in style: Error: (inc/compat_lines:124): Unrecognised command 'no'

I guess there is some room for a better message there.

The problem is that setaccess takes one argument, so that setaccess=no 
is really:

    setaccess =;
    no;

Probably anything that isn't 'yes' is treated as 'no', so that '=' is 
accepted without complaint and then 'no' is treated as a command which 
fails.

I shall add a check for a valid argument to setaccess.

..Steve


More information about the mkgmap-dev mailing list