Ensure numbers are parsed inside (bracket expressions)

This commit is contained in:
Tobie Morgan Hitchcock 2022-03-16 20:49:26 +00:00
parent 60c05ee082
commit f13aafe576

View file

@ -517,6 +517,7 @@ pub fn number(i: &str) -> IResult<&str, Number> {
map(operator, |_| ()),
map(assigner, |_| ()),
map(comment, |_| ()),
map(tag(")"), |_| ()),
map(tag("]"), |_| ()),
map(tag("}"), |_| ()),
map(tag(";"), |_| ()),