[mkgmap-dev] understanding style files
From Marko Mäkelä marko.makela at iki.fi on Mon Sep 3 21:01:17 BST 2012
On Mon, Sep 03, 2012 at 09:59:16PM +0200, Christian H. Bruhn wrote: >am Freitag, 31. August 2012 um 22:12 schrieb Chris66: > >> Yes this is a little bit confusing. The parser stops on the first >> *non action* rule (first rule with a [...] section). > >highway=secondary { set name 'bla' } > >highway=secondary { set name 'bla' } [0x04 road_class=2 road_speed=3 resolution 20] > >highway=secondary [0x04 road_class=2 road_speed=3 resolution 20] > >So if the first rule matches, the parser will continue. If a rule like >the second or third matches, he will stop after this rule. > >Is that correct? Correct. Note that there exist the special actions 'continue' and 'continue_with_actions' whose exact semantics I do not remember. Marko
- Previous message: [mkgmap-dev] understanding style files
- Next message: [mkgmap-dev] understanding style files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list