]> git.proxmox.com Git - mirror_qemu.git/commit - tests/Makefile.include
tests/qapi-schema: Demonstrate suboptimal lexical errors
authorMarkus Armbruster <armbru@redhat.com>
Sat, 14 Sep 2019 15:34:53 +0000 (17:34 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 24 Sep 2019 12:07:23 +0000 (14:07 +0200)
commit4d42815587063d6e544c4e6a2e3240516f44dcc9
tree8e1842a713cd900ae752d5e018a25a90f3fc34c4
parentef91ab0d5fe1a263e9e3cc1d14ea702a0a9f2261
tests/qapi-schema: Demonstrate suboptimal lexical errors

The error message for forgotten quotes around a name shows just the
name's first character, which isn't as nice as it could be.  Same for
attempting to use a number.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190914153506.2151-7-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tests/Makefile.include
tests/qapi-schema/bad-type-int.json
tests/qapi-schema/funny-word.err [new file with mode: 0644]
tests/qapi-schema/funny-word.exit [new file with mode: 0644]
tests/qapi-schema/funny-word.json [new file with mode: 0644]
tests/qapi-schema/funny-word.out [new file with mode: 0644]