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

2014-02-20 Thread Markus Armbruster
Wenchao Xia writes: > 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 > --- > scripts/qapi.py |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/sc

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

2014-02-19 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 --- scripts/qapi.py |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/scripts/qapi.py b/scripts/qapi.py index