summaryrefslogtreecommitdiff
path: root/jsmn.h
diff options
context:
space:
mode:
Diffstat (limited to 'jsmn.h')
-rw-r--r--jsmn.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/jsmn.h b/jsmn.h
index 72040bc3b..91e285d25 100644
--- a/jsmn.h
+++ b/jsmn.h
@@ -44,9 +44,9 @@ typedef struct {
* the string being parsed now and current position in that string
*/
typedef struct {
- unsigned int pos;
- int toknext;
- int *cursize;
+ unsigned int pos; /* offset in the JSON string */
+ int toknext; /* next token to allocate */
+ int toksuper; /* suporior token node, e.g parent object or array */
} jsmn_parser;
/**