From f13aafe5767e52b793a3679a0f2f8884d99ebe23 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Wed, 16 Mar 2022 20:49:26 +0000 Subject: [PATCH] Ensure numbers are parsed inside (bracket expressions) --- lib/src/sql/number.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/sql/number.rs b/lib/src/sql/number.rs index 186e2e78..07ae865c 100644 --- a/lib/src/sql/number.rs +++ b/lib/src/sql/number.rs @@ -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(";"), |_| ()),