[mkgmap-dev] Re: cannot compile custom style
From Marko Mäkelä marko.makela at iki.fi on Mon Jun 29 06:37:24 BST 2009
On Mon, Jun 29, 2009 at 11:19:09AM +0800, maning sambale wrote: > I diabled this line and it seems to work: > highway=bus_stop [0x2f08 resolution 23 default_name 'Bus stop] [...] > > Do this message refer to this line in teh point style file? > > > > 115 highway=motorway_junction { name '${ref} ${name}' | '${ref}' | '${name}' } An educated guess: due to the missing closing quote of "'Bus stop" everything up to "name '" was included in the string, and the next token that the parser saw was the $ of ${ref}. If line breaks are not useful in labels, it might be good to have the lexer spit out warnings when it sees a line break within a quoted string. The warning could be suppressed by using some \x0a notation. The lexer could also ignore \ followed by a line break and white space, so that overly long strings can be split over multiple lines. Marko
- Previous message: [mkgmap-dev] Re: cannot compile custom style
- Next message: [mkgmap-dev] Re: cannot compile custom style
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list