aboutsummaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authordrh <>2023-10-05 22:52:43 +0000
committerdrh <>2023-10-05 22:52:43 +0000
commitf7af8f32704b5675b1acab942d3b8e6931c8edd0 (patch)
tree1a4510848dd7cfb93989c8d5a4fc5f67228f5bbe /src/json.c
parentdac27071526c6e0b54827713f8b8c2cee413a9c0 (diff)
downloadsqlite-f7af8f32704b5675b1acab942d3b8e6931c8edd0.tar.gz
sqlite-f7af8f32704b5675b1acab942d3b8e6931c8edd0.zip
Improvements to comments. No changes to code.
FossilOrigin-Name: ac74d7877685006e43684edd6a2d22be8c9857f9f9eb52fc5b3c182d5e2fdb8d
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/json.c b/src/json.c
index 30612aff9..57309e367 100644
--- a/src/json.c
+++ b/src/json.c
@@ -1515,10 +1515,10 @@ static const struct NanInfName {
**
** 0 End of input
** -1 Syntax error
-** -2 '}' seen
-** -3 ']' seen
-** -4 ',' seen
-** -5 ':' seen
+** -2 '}' seen \
+** -3 ']' seen \___ For these returns, pParse->iErr is set to
+** -4 ',' seen / the index in zJson[] of the seen character
+** -5 ':' seen /
*/
static int jsonParseValueFromText(JsonParse *pParse, u32 i){
char c;
@@ -2656,10 +2656,10 @@ static int jsonIs4HexB(const char *z, int *pOp){
**
** 0 End of input
** -1 Syntax error
-** -2 '}' seen
-** -3 ']' seen
-** -4 ',' seen
-** -5 ':' seen
+** -2 '}' seen \
+** -3 ']' seen \___ For these returns, pParse->iErr is set to
+** -4 ',' seen / the index in zJson[] of the seen character
+** -5 ':' seen /
*/
static int jsonTranslateTextValueToBlob(JsonParse *pParse, u32 i){
char c;