mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 15:00:34 +00:00
2cfbae3c42
qapi.py has a hardcoded white-list of type names that may violate the rule on use of upper and lower case. Add a new pragma directive 'name-case-whitelist', and use it to replace the hard-coded white-list. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1489582656-31133-7-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
5 lines
258 B
JSON
5 lines
258 B
JSON
# Member names should be 'lower-case' unless the enum is whitelisted
|
|
{ 'pragma': { 'name-case-whitelist': [ 'UuidInfo' ] } }
|
|
{ 'enum': 'UuidInfo', 'data': [ 'Value' ] } # UuidInfo is whitelisted
|
|
{ 'enum': 'NoWayThisWillGetWhitelisted', 'data': [ 'Value' ] }
|