summary refs log tree commit diff stats
path: root/include/qapi/qmp/json-lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qapi/qmp/json-lexer.h')
-rw-r--r--include/qapi/qmp/json-lexer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/qapi/qmp/json-lexer.h b/include/qapi/qmp/json-lexer.h
index cdff0460a8..61a143f5bf 100644
--- a/include/qapi/qmp/json-lexer.h
+++ b/include/qapi/qmp/json-lexer.h
@@ -18,7 +18,8 @@
 #include "qapi/qmp/qlist.h"
 
 typedef enum json_token_type {
-    JSON_OPERATOR = 100,
+    JSON_MIN = 100,
+    JSON_OPERATOR = JSON_MIN,
     JSON_INTEGER,
     JSON_FLOAT,
     JSON_KEYWORD,