
Doh! Thanks it works OK now. On 6/29/09, Marko Mäkelä <marko.makela@iki.fi> wrote:
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 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------