Re: [Qemu-devel] [PATCH V2 2/8] qapi script: add check for duplicated key

2013-12-02 Thread Eric Blake
On 11/12/2013 03:25 PM, Wenchao Xia wrote: It is bad that same key was specified twice, especially when a union have two branches with same condition. This patch can prevent it. Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com --- scripts/qapi.py |2 ++ 1 files changed, 2

[Qemu-devel] [PATCH V2 2/8] qapi script: add check for duplicated key

2013-11-12 Thread Wenchao Xia
It is bad that same key was specified twice, especially when a union have two branches with same condition. This patch can prevent it. Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com --- scripts/qapi.py |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git