Re: [Qemu-devel] [RFC PATCH v2 2/7] qapi: Allow true, false and null in schema json

2014-05-20 Thread Eric Blake
On 05/20/2014 03:07 AM, Fam Zheng wrote: > Signed-off-by: Fam Zheng > --- > scripts/qapi.py | 24 +--- > 1 file changed, 17 insertions(+), 7 deletions(-) I applied this patch and tried to break things. Pre-patch, { 'random': tru } => foo.json:1:13: Stray "t" { 'random': true

[Qemu-devel] [RFC PATCH v2 2/7] qapi: Allow true, false and null in schema json

2014-05-20 Thread Fam Zheng
Signed-off-by: Fam Zheng --- scripts/qapi.py | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/scripts/qapi.py b/scripts/qapi.py index 4c945ad..0f275f3 100644 --- a/scripts/qapi.py +++ b/scripts/qapi.py @@ -171,7 +171,20 @@ class QAPISchema: