Fix numeric parsing
turtle/parser.scm
178 | 178 | (define-peg-pattern collection all | |
179 | 179 | (and (ignore "(") WS (* (and object WS)) (ignore ")"))) | |
180 | 180 | ;; [16] NumericLiteral ::= INTEGER | DECIMAL | DOUBLE | |
181 | - | (define-peg-pattern numeric-literal all (or integer decimal double)) | |
181 | + | (define-peg-pattern numeric-literal all (or double decimal integer)) | |
182 | 182 | ;; [128s] RDFLiteral ::= String (LANGTAG | '^^' iri)? | |
183 | 183 | (define-peg-pattern rdf-literal all | |
184 | 184 | (and string-pat WS (? (or langtag (and "^^" WS iri))))) |