diff options
| author | Markus Armbruster | 2013-07-27 17:41:58 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-07-29 17:37:11 +0200 |
| commit | 6974ccd542d11ae5fb1e56dd3d753f2de5cc097e (patch) | |
| tree | 00acbbcc2817dbb6cef28f36504cdb115a9ef956 /tests/qapi-schema/missing-comma-list.exit | |
| parent | qapi.py: Reject invalid characters in schema file (diff) | |
| download | qemu-6974ccd542d11ae5fb1e56dd3d753f2de5cc097e.tar.gz qemu-6974ccd542d11ae5fb1e56dd3d753f2de5cc097e.tar.xz qemu-6974ccd542d11ae5fb1e56dd3d753f2de5cc097e.zip | |
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/missing-comma-list.exit')
| -rw-r--r-- | tests/qapi-schema/missing-comma-list.exit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/missing-comma-list.exit b/tests/qapi-schema/missing-comma-list.exit index 573541ac97..d00491fd7e 100644 --- a/tests/qapi-schema/missing-comma-list.exit +++ b/tests/qapi-schema/missing-comma-list.exit @@ -1 +1 @@ -0 +1 |
