diff options
author | drh <> | 2023-10-05 17:52:39 +0000 |
---|---|---|
committer | drh <> | 2023-10-05 17:52:39 +0000 |
commit | 14fce24a9bacf6e872154a2a679ff95acb10a7a8 (patch) | |
tree | ed12b3b1ef10aa1aa3251d636200179ecdb1eeb9 /src/json.c | |
parent | 0585d9f08f0b7786739621b3e41362079b2cb1e9 (diff) | |
download | sqlite-14fce24a9bacf6e872154a2a679ff95acb10a7a8.tar.gz sqlite-14fce24a9bacf6e872154a2a679ff95acb10a7a8.zip |
Fix the text-to-JSONB parser so that it handles some JSON5 floating point
literals correctly.
FossilOrigin-Name: 564edb3b6dd752e09e445e3a25c2f5394ceede2a2cdff251d6433dadc0b3644f
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c index c405c5943..ba701ba68 100644 --- a/src/json.c +++ b/src/json.c @@ -2955,7 +2955,7 @@ json_parse_restart: } if( z[i+1]=='.' ){ pParse->hasNonstd = 1; - t |= 0x03; + t |= 0x01; goto parse_number_2; } pParse->iErr = i; |