mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
qapi: add a dictionary form with 'name' key for enum members
Desugar the enum NAME form to { 'name': NAME }. This will allow to add new enum members, such as 'if' in the following patch. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20181213123724.4866-7-marcandre.lureau@redhat.com> Message-Id: <20181213123724.4866-8-marcandre.lureau@redhat.com> Message-Id: <20181213123724.4866-9-marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Harmless accidental move backed out, long line wrapped, patches squashed] Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
7e80d48001
commit
ea738b2168
12 changed files with 36 additions and 14 deletions
1
tests/qapi-schema/enum-bad-member.exit
Normal file
1
tests/qapi-schema/enum-bad-member.exit
Normal file
|
@ -0,0 +1 @@
|
|||
1
|
Loading…
Add table
Add a link
Reference in a new issue