mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
qapi: Use quotes more consistently in frontend error messages
Consistently enclose error messages in double quotes. Use single quotes within, except for one case of "'". Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190914153506.2151-8-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
4d42815587
commit
9f5e6b088a
20 changed files with 38 additions and 36 deletions
|
@ -1 +1 @@
|
|||
tests/qapi-schema/bad-type-int.json:3:13: Stray "1"
|
||||
tests/qapi-schema/bad-type-int.json:3:13: Stray '1'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/doc-missing-colon.json:4:1: Line should end with :
|
||||
tests/qapi-schema/doc-missing-colon.json:4:1: Line should end with ':'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/duplicate-key.json:3:10: Duplicate key "key"
|
||||
tests/qapi-schema/duplicate-key.json:3:10: Duplicate key 'key'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/enum-int-member.json:3:31: Stray "1"
|
||||
tests/qapi-schema/enum-int-member.json:3:31: Stray '1'
|
||||
|
|
1
tests/qapi-schema/escape-outside-string.err
Normal file
1
tests/qapi-schema/escape-outside-string.err
Normal file
|
@ -0,0 +1 @@
|
|||
tests/qapi-schema/escape-outside-string.json:3:27: Stray '\'
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/funny-char.json:2:36: Stray ";"
|
||||
tests/qapi-schema/funny-char.json:2:36: Stray ';'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/funny-word.json:1:3: Stray "c"
|
||||
tests/qapi-schema/funny-word.json:1:3: Stray 'c'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/include-before-err.json:2:13: Expected ":"
|
||||
tests/qapi-schema/include-before-err.json:2:13: Expected ':'
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
In file included from tests/qapi-schema/include-nested-err.json:1:
|
||||
tests/qapi-schema/missing-colon.json:1:10: Expected ":"
|
||||
tests/qapi-schema/missing-colon.json:1:10: Expected ':'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/leading-comma-list.json:2:13: Expected "{", "[", "]", string, boolean or "null"
|
||||
tests/qapi-schema/leading-comma-list.json:2:13: Expected '{', '[', ']', string, boolean or 'null'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/leading-comma-object.json:1:3: Expected string or "}"
|
||||
tests/qapi-schema/leading-comma-object.json:1:3: Expected string or '}'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/missing-colon.json:1:10: Expected ":"
|
||||
tests/qapi-schema/missing-colon.json:1:10: Expected ':'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/missing-comma-list.json:2:20: Expected "," or "]"
|
||||
tests/qapi-schema/missing-comma-list.json:2:20: Expected ',' or ']'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/missing-comma-object.json:2:3: Expected "," or "}"
|
||||
tests/qapi-schema/missing-comma-object.json:2:3: Expected ',' or '}'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/non-objects.json:1:1: Expected "{"
|
||||
tests/qapi-schema/non-objects.json:1:1: Expected '{'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/quoted-structural-chars.json:1:1: Expected "{"
|
||||
tests/qapi-schema/quoted-structural-chars.json:1:1: Expected '{'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/trailing-comma-list.json:2:36: Expected "{", "[", string, boolean or "null"
|
||||
tests/qapi-schema/trailing-comma-list.json:2:36: Expected '{', '[', string, boolean or 'null'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/unclosed-list.json:1:20: Expected "," or "]"
|
||||
tests/qapi-schema/unclosed-list.json:1:20: Expected ',' or ']'
|
||||
|
|
|
@ -1 +1 @@
|
|||
tests/qapi-schema/unclosed-object.json:1:21: Expected "," or "}"
|
||||
tests/qapi-schema/unclosed-object.json:1:21: Expected ',' or '}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue