From 6974ccd542d11ae5fb1e56dd3d753f2de5cc097e Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 27 Jul 2013 17:41:58 +0200 Subject: qapi.py: Fix schema parser to check syntax systematically Fixes at least the following parser bugs: * accepts any token in place of a colon * treats comma as optional * crashes when closing braces or brackets are missing Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Message-id: 1374939721-7876-7-git-send-email-armbru@redhat.com Signed-off-by: Anthony Liguori --- tests/qapi-schema/trailing-comma-object.exit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/qapi-schema/trailing-comma-object.exit') diff --git a/tests/qapi-schema/trailing-comma-object.exit b/tests/qapi-schema/trailing-comma-object.exit index 573541ac97..d00491fd7e 100644 --- a/tests/qapi-schema/trailing-comma-object.exit +++ b/tests/qapi-schema/trailing-comma-object.exit @@ -1 +1 @@ -0 +1 -- cgit v1.2.3