SPARQL: requires decimal digits for DECIMAL serialization

Follows SPARQL 1.1 grammar
pull/553/head
Tpt 2 years ago committed by Thomas Tanon
parent a27f31b84e
commit 6cc7488905
  1. 2
      lib/spargebra/src/parser.rs

@ -2174,7 +2174,7 @@ parser! {
rule INTEGER() = ['0'..='9']+ rule INTEGER() = ['0'..='9']+
rule DECIMAL() = ['0'..='9']+ "." ['0'..='9']* / ['0'..='9']* "." ['0'..='9']+ rule DECIMAL() = ['0'..='9']* "." ['0'..='9']+
rule DOUBLE() = (['0'..='9']+ "." ['0'..='9']* / "." ['0'..='9']+ / ['0'..='9']+) EXPONENT() rule DOUBLE() = (['0'..='9']+ "." ['0'..='9']* / "." ['0'..='9']+ / ['0'..='9']+) EXPONENT()

Loading…
Cancel
Save