Re: [Qemu-devel] [PATCH for-2.9 40/47] qapi: Simplify what gets stored in enum_types

2017-03-14 Thread Eric Blake
On 03/13/2017 01:18 AM, Markus Armbruster wrote: > Don't invent a new dictionary structure just for enum_types, simply > store the defining expression, like we do for struct_types and > union_types. > > Signed-off-by: Markus Armbruster > --- > scripts/qapi.py | 29 +++-- >

[Qemu-devel] [PATCH for-2.9 40/47] qapi: Simplify what gets stored in enum_types

2017-03-12 Thread Markus Armbruster
Don't invent a new dictionary structure just for enum_types, simply store the defining expression, like we do for struct_types and union_types. Signed-off-by: Markus Armbruster --- scripts/qapi.py | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a