diff --git a/lib/src/sql/ending.rs b/lib/src/sql/ending.rs index 4f937bc5..8ee62061 100644 --- a/lib/src/sql/ending.rs +++ b/lib/src/sql/ending.rs @@ -2,6 +2,7 @@ use crate::sql::comment::comment; use crate::sql::error::IResult; use crate::sql::operator::{assigner, operator}; use nom::branch::alt; +use nom::bytes::complete::tag; use nom::character::complete::char; use nom::character::complete::multispace1; use nom::combinator::eof; @@ -19,6 +20,7 @@ pub fn number(i: &str) -> IResult<&str, ()> { map(char('}'), |_| ()), map(char(';'), |_| ()), map(char(','), |_| ()), + map(tag(".."), |_| ()), map(eof, |_| ()), )))(i) }