1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

Fix the text-to-JSONB parser so that it handles some JSON5 floating point

literals correctly.

FossilOrigin-Name: 564edb3b6dd752e09e445e3a25c2f5394ceede2a2cdff251d6433dadc0b3644f
This commit is contained in:
drh
2023-10-05 17:52:39 +00:00
parent 0585d9f08f
commit 14fce24a9b
3 changed files with 8 additions and 8 deletions

View File

@@ -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;