| 1 |
|
| 2 |
# Expression rule must be matched by the finalize |
| 3 |
highway=residential [0x01 road_class=0 road_speed=0 resolution 22] |
| 4 |
|
| 5 |
# Action rules with element type definition must also run the finalize block |
| 6 |
highway=track { set road=yes } [0x01 road_class=0 road_speed=0 resolution 22] |
| 7 |
|
| 8 |
# The first two action rules should not trigger the finalize block |
| 9 |
highway=secondary { set road=yes } |
| 10 |
road=yes { delete road } |
| 11 |
# this triggers the finalize block but there is no matching rule |
| 12 |
highway=secondary [0x01 road_class=0 road_speed=0 resolution 22] |
| 13 |
|
| 14 |
highway=trunk { set road=yes } [0x01 road_class=0 road_speed=0 resolution 22 continue with_actions] |
| 15 |
highway=trunk & road=yes { delete road } [0x01 road_class=0 road_speed=0 resolution 22] |
| 16 |
|
| 17 |
<finalize> |
| 18 |
highway=residential { name 'OK' } |
| 19 |
road=yes { name 'OK' } |