Re: [Qemu-devel] [PATCH V8 02/10] qapi script: add check for duplicated key

2014-02-27 Thread Eric Blake
On 02/27/2014 04:09 AM, Wenchao Xia wrote: > From: Wenchao Xia > > It is bad that same key was specified twice, especially when a union have s/have/has/ > two branches with same condition. This patch can prevent it. > > Signed-off-by: Wenchao Xia > Signed-off-by: Wenchao Xia Again, the doub

[Qemu-devel] [PATCH V8 02/10] qapi script: add check for duplicated key

2014-02-27 Thread Wenchao Xia
From: 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 Signed-off-by: Wenchao Xia --- scripts/qapi.py |2 ++ tests/Makefile