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:
Markus Armbruster 2019-09-14 17:34:54 +02:00
parent 4d42815587
commit 9f5e6b088a
20 changed files with 38 additions and 36 deletions

View file

@ -1 +1 @@
tests/qapi-schema/bad-type-int.json:3:13: Stray "1"
tests/qapi-schema/bad-type-int.json:3:13: Stray '1'

View file

@ -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 ':'

View file

@ -1 +1 @@
tests/qapi-schema/duplicate-key.json:3:10: Duplicate key "key"
tests/qapi-schema/duplicate-key.json:3:10: Duplicate key 'key'

View file

@ -1 +1 @@
tests/qapi-schema/enum-int-member.json:3:31: Stray "1"
tests/qapi-schema/enum-int-member.json:3:31: Stray '1'

View file

@ -0,0 +1 @@
tests/qapi-schema/escape-outside-string.json:3:27: Stray '\'

View file

@ -1 +1 @@
tests/qapi-schema/funny-char.json:2:36: Stray ";"
tests/qapi-schema/funny-char.json:2:36: Stray ';'

View file

@ -1 +1 @@
tests/qapi-schema/funny-word.json:1:3: Stray "c"
tests/qapi-schema/funny-word.json:1:3: Stray 'c'

View file

@ -1 +1 @@
tests/qapi-schema/include-before-err.json:2:13: Expected ":"
tests/qapi-schema/include-before-err.json:2:13: Expected ':'

View file

@ -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 ':'

View file

@ -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'

View file

@ -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 '}'

View file

@ -1 +1 @@
tests/qapi-schema/missing-colon.json:1:10: Expected ":"
tests/qapi-schema/missing-colon.json:1:10: Expected ':'

View file

@ -1 +1 @@
tests/qapi-schema/missing-comma-list.json:2:20: Expected "," or "]"
tests/qapi-schema/missing-comma-list.json:2:20: Expected ',' or ']'

View file

@ -1 +1 @@
tests/qapi-schema/missing-comma-object.json:2:3: Expected "," or "}"
tests/qapi-schema/missing-comma-object.json:2:3: Expected ',' or '}'

View file

@ -1 +1 @@
tests/qapi-schema/non-objects.json:1:1: Expected "{"
tests/qapi-schema/non-objects.json:1:1: Expected '{'

View file

@ -1 +1 @@
tests/qapi-schema/quoted-structural-chars.json:1:1: Expected "{"
tests/qapi-schema/quoted-structural-chars.json:1:1: Expected '{'

View file

@ -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'

View file

@ -1 +1 @@
tests/qapi-schema/unclosed-list.json:1:20: Expected "," or "]"
tests/qapi-schema/unclosed-list.json:1:20: Expected ',' or ']'

View file

@ -1 +1 @@
tests/qapi-schema/unclosed-object.json:1:21: Expected "," or "}"
tests/qapi-schema/unclosed-object.json:1:21: Expected ',' or '}'