logo separator

[mkgmap-dev] problem with style

From Steve Ratcliffe steve at parabola.me.uk on Fri Sep 28 14:48:45 BST 2012

On 28/09/12 13:41, aighes wrote:
> I've got a NPE while testing my style-file (
> http://www.aighes.de/data/rrk_style.zip ).

That file doesn't exist for me.

> Any guesses were the fault could be? Maybe a better errormessage could
> be generated by mkgmap in this case?

I'm guessing you have something like:

  a=b | c [0x1 ]

In other words you have a bare tag name without any operation.

If you apply the attached patch, it will show you the line number of the 
problem, if it is due to this.

The message is somewhat cryptic, so will need to do something about that.

Also the similar case:

  a=b & c [0x2 ]

does not give an error (the 'c' bit is always regarded as true I think) 
but it probably should.

..Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bare-value-1.patch
Type: text/x-patch
Size: 588 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120928/b1ec1e09/attachment.bin 


More information about the mkgmap-dev mailing list