Ensure values are parsed in the correct order
This commit is contained in:
parent
a242884871
commit
a430e89c1f
1 changed files with 6 additions and 6 deletions
|
@ -1245,16 +1245,16 @@ pub fn single(i: &str) -> IResult<&str, Value> {
|
|||
map(datetime, Value::from),
|
||||
map(duration, Value::from),
|
||||
map(geometry, Value::from),
|
||||
map(thing, Value::from),
|
||||
map(unique, Value::from),
|
||||
map(number, Value::from),
|
||||
map(strand, Value::from),
|
||||
map(object, Value::from),
|
||||
map(array, Value::from),
|
||||
map(param, Value::from),
|
||||
map(regex, Value::from),
|
||||
map(model, Value::from),
|
||||
map(idiom, Value::from),
|
||||
map(thing, Value::from),
|
||||
map(strand, Value::from),
|
||||
))(i)
|
||||
}
|
||||
|
||||
|
@ -1270,17 +1270,17 @@ pub fn select(i: &str) -> IResult<&str, Value> {
|
|||
map(datetime, Value::from),
|
||||
map(duration, Value::from),
|
||||
map(geometry, Value::from),
|
||||
map(edges, Value::from),
|
||||
map(thing, Value::from),
|
||||
map(unique, Value::from),
|
||||
map(number, Value::from),
|
||||
map(strand, Value::from),
|
||||
map(object, Value::from),
|
||||
map(array, Value::from),
|
||||
map(param, Value::from),
|
||||
map(regex, Value::from),
|
||||
map(model, Value::from),
|
||||
map(edges, Value::from),
|
||||
map(thing, Value::from),
|
||||
map(table, Value::from),
|
||||
map(strand, Value::from),
|
||||
))(i)
|
||||
}
|
||||
|
||||
|
@ -1304,11 +1304,11 @@ pub fn json(i: &str) -> IResult<&str, Value> {
|
|||
map(datetime, Value::from),
|
||||
map(duration, Value::from),
|
||||
map(geometry, Value::from),
|
||||
map(thing, Value::from),
|
||||
map(unique, Value::from),
|
||||
map(number, Value::from),
|
||||
map(object, Value::from),
|
||||
map(array, Value::from),
|
||||
map(thing, Value::from),
|
||||
map(strand, Value::from),
|
||||
))(i)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue