diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-09-14 17:34:53 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-09-24 14:07:23 +0200 |
commit | 4d42815587063d6e544c4e6a2e3240516f44dcc9 (patch) | |
tree | 8e1842a713cd900ae752d5e018a25a90f3fc34c4 /tests/qapi-schema/funny-word.err | |
parent | ef91ab0d5fe1a263e9e3cc1d14ea702a0a9f2261 (diff) |
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>
Diffstat (limited to 'tests/qapi-schema/funny-word.err')
-rw-r--r-- | tests/qapi-schema/funny-word.err | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qapi-schema/funny-word.err b/tests/qapi-schema/funny-word.err new file mode 100644 index 0000000000..0a440574bd --- /dev/null +++ b/tests/qapi-schema/funny-word.err @@ -0,0 +1 @@ +tests/qapi-schema/funny-word.json:1:3: Stray "c" |