Throw an error for invalid classes
This commit is contained in:
committed by
Patrick Niklaus
parent
6339395cba
commit
c6be2e768a
+7
-3
@@ -100,11 +100,15 @@ function setup()
|
||||
'vehicle'
|
||||
},
|
||||
|
||||
classes = Sequence {
|
||||
'toll', 'motorway', 'ferry', 'restricted'
|
||||
},
|
||||
|
||||
-- classes to support for avoid flags
|
||||
avoidable = Sequence {
|
||||
Set {"toll"},
|
||||
Set {"motorway"},
|
||||
Set {"ferry"}
|
||||
Set {'toll'},
|
||||
Set {'motorway'},
|
||||
Set {'ferry'}
|
||||
},
|
||||
|
||||
avoid = Set {
|
||||
|
||||
Reference in New Issue
Block a user