qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 07/14] qapi: Fix error message when type name or array is exp


From: Eric Blake
Subject: Re: [PATCH 07/14] qapi: Fix error message when type name or array is expected
Date: Thu, 16 Mar 2023 19:57:18 -0500
User-agent: NeoMutt/20220429

On Thu, Mar 16, 2023 at 08:13:18AM +0100, Markus Armbruster wrote:
> 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>
> ---
>  scripts/qapi/expr.py                        | 15 +++++++--------
>  tests/qapi-schema/event-nest-struct.err     |  2 +-
>  tests/qapi-schema/nested-struct-data.err    |  2 +-
>  tests/qapi-schema/returns-dict.err          |  2 +-
>  tests/qapi-schema/struct-member-invalid.err |  2 +-
>  5 files changed, 11 insertions(+), 12 deletions(-)
>

Doesn't change the set of schemas accepted, but does make it easier to
understand when a schema is rejected.

Reviewed-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]