aboutsummaryrefslogtreecommitdiff
path: root/jsmn.h
diff options
context:
space:
mode:
Diffstat (limited to 'jsmn.h')
-rw-r--r--jsmn.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/jsmn.h b/jsmn.h
index 3178dcc97..41219b7dd 100644
--- a/jsmn.h
+++ b/jsmn.h
@@ -45,10 +45,10 @@ extern "C" {
*/
typedef enum {
JSMN_UNDEFINED = 0,
- JSMN_OBJECT = 1,
- JSMN_ARRAY = 2,
- JSMN_STRING = 3,
- JSMN_PRIMITIVE = 4
+ JSMN_OBJECT = 1 << 0,
+ JSMN_ARRAY = 1 << 1,
+ JSMN_STRING = 1 << 2,
+ JSMN_PRIMITIVE = 1 << 3
} jsmntype_t;
enum jsmnerr {