From dccceaf112ac67460532dcced9007462bea3a0de Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 4 Feb 2011 01:12:36 +0000 Subject: Fix parsing double with signs in their exponents (e.g. 1.234e+56). git-svn-id: http://svn.drobilla.net/serd/trunk@95 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- tests/test-num.out | 3 +++ tests/test-num.ttl | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test-num.out b/tests/test-num.out index 447f11df..2502580b 100644 --- a/tests/test-num.out +++ b/tests/test-num.out @@ -4,3 +4,6 @@ ".4"^^ . "+.5"^^ . "-.6"^^ . + "1.58490e-05"^^ . + "1.58490e+05"^^ . + "1.58490e05"^^ . diff --git a/tests/test-num.ttl b/tests/test-num.ttl index 086ca5ab..54a425ac 100644 --- a/tests/test-num.ttl +++ b/tests/test-num.ttl @@ -6,4 +6,6 @@ eg:thing eg:num -0.3 . eg:thing eg:num .4 . eg:thing eg:num +.5 . eg:thing eg:num -.6 . - +eg:thing eg:num 1.58490e-05 . +eg:thing eg:num 1.58490e+05 . +eg:thing eg:num 1.58490e05 . -- cgit v1.2.1