Re: [Qemu-devel] [PATCH v5 14/28] qapi: Better error messages for bad expressions

2015-03-26 Thread Markus Armbruster
Eric Blake writes: > The previous commit demonstrated that the generator overlooked some > fairly basic broken expressions: > - missing metataype > - metatype key has a non-string value > - unknown key in relation to the metatype > - conflicting metatype (this patch treats the second metatype as

[Qemu-devel] [PATCH v5 14/28] qapi: Better error messages for bad expressions

2015-03-24 Thread Eric Blake
The previous commit demonstrated that the generator overlooked some fairly basic broken expressions: - missing metataype - metatype key has a non-string value - unknown key in relation to the metatype - conflicting metatype (this patch treats the second metatype as an unknown key of the first key v