diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-11-25 22:23:25 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-11-26 09:18:45 +0100 |
commit | b8d3b1da3cdbb02e180618d6be346c564723015d (patch) | |
tree | 1945215744ecfa7878ee52ac1b80b3ca971ce5f6 /include/qapi/qmp/json-lexer.h | |
parent | f0ae0304c7a41a42b7d4a6cde450da938d3c2cc7 (diff) | |
download | qemu-b8d3b1da3cdbb02e180618d6be346c564723015d.zip qemu-b8d3b1da3cdbb02e180618d6be346c564723015d.tar.gz qemu-b8d3b1da3cdbb02e180618d6be346c564723015d.tar.bz2 |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/qapi/qmp/json-lexer.h b/include/qapi/qmp/json-lexer.h index cdff046..61a143f 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, |