Ensure strings are parsed last

This commit is contained in:
Tobie Morgan Hitchcock 2023-04-01 18:48:17 +01:00
parent 54d285f1e1
commit be42b3e7c9

View file

@ -1618,7 +1618,6 @@ pub fn select(i: &str) -> IResult<&str, Value> {
map(future, Value::from), map(future, Value::from),
map(unique, Value::from), map(unique, Value::from),
map(number, Value::from), map(number, Value::from),
map(strand, Value::from),
map(object, Value::from), map(object, Value::from),
map(array, Value::from), map(array, Value::from),
map(block, Value::from), map(block, Value::from),
@ -1629,6 +1628,7 @@ pub fn select(i: &str) -> IResult<&str, Value> {
map(range, Value::from), map(range, Value::from),
map(thing, Value::from), map(thing, Value::from),
map(table, Value::from), map(table, Value::from),
map(strand, Value::from),
)), )),
))(i) ))(i)
} }