aboutsummaryrefslogtreecommitdiff
path: root/include/qapi/qmp/json-lexer.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-11-25 22:23:25 +0100
committerMarkus Armbruster <armbru@redhat.com>2015-11-26 09:18:45 +0100
commitb8d3b1da3cdbb02e180618d6be346c564723015d (patch)
tree1945215744ecfa7878ee52ac1b80b3ca971ce5f6 /include/qapi/qmp/json-lexer.h
parentf0ae0304c7a41a42b7d4a6cde450da938d3c2cc7 (diff)
qjson: Spell out some silent assumptions
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1448486613-17634-5-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
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,