mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
qapi: Fix error message when type name or array is expected
We incorrectly report "FOO should be a type name" when it could also be an array. Fix that. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20230316071325.492471-8-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
7c4075190d
commit
6f2ab6090d
5 changed files with 11 additions and 12 deletions
|
|
@ -1,2 +1,2 @@
|
|||
event-nest-struct.json: In event 'EVENT_A':
|
||||
event-nest-struct.json:1: 'data' member 'a' should be a type name
|
||||
event-nest-struct.json:1: 'data' member 'a' should be a type name or array
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue