aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/trailing-comma-list.out
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-07-27 17:41:58 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-07-29 10:37:11 -0500
commit6974ccd542d11ae5fb1e56dd3d753f2de5cc097e (patch)
tree00acbbcc2817dbb6cef28f36504cdb115a9ef956 /tests/qapi-schema/trailing-comma-list.out
parent9213aa5391f7c8d3766420d96888f1353af4c890 (diff)
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 <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 1374939721-7876-7-git-send-email-armbru@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tests/qapi-schema/trailing-comma-list.out')
-rw-r--r--tests/qapi-schema/trailing-comma-list.out3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/qapi-schema/trailing-comma-list.out b/tests/qapi-schema/trailing-comma-list.out
index e3bd904453..e69de29bb2 100644
--- a/tests/qapi-schema/trailing-comma-list.out
+++ b/tests/qapi-schema/trailing-comma-list.out
@@ -1,3 +0,0 @@
-[OrderedDict([('enum', 'Status'), ('data', ['good', 'bad', 'ugly'])])]
-['Status']
-[]