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

2023-03-16 Thread Eric Blake
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 > --- > scripts/qapi/expr.py| 15 +++ > tests/qapi-schema/e

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

2023-03-16 Thread Markus Armbruster
We incorrectly report "FOO should be a type name" when it could also be an array. Fix that. Signed-off-by: Markus Armbruster --- scripts/qapi/expr.py| 15 +++ tests/qapi-schema/event-nest-struct.err | 2 +- tests/qapi-schema/nested-struct-data.err|