
3 Sep
2012
3 Sep
'12
8:01 p.m.
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