diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-09-13 22:13:40 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-09-24 14:07:22 +0200 |
commit | 9b4416bfc1ea5fb3398e8f78a90caa88dd301c37 (patch) | |
tree | f9f7873635cf4f07f9f55e42d8dbbb34df058778 /tests/qapi-schema/ident-with-escape.err | |
parent | 56a8caff922df8d597895a49f55f2150bff3adb7 (diff) |
qapi: Drop support for escape sequences other than \\
Since the previous commit restricted strings to printable ASCII,
\uXXXX's only use is obfuscation. Drop it.
This leaves \\, \/, \', and \". Since QAPI schema strings are all
names, and names are restricted to ASCII letters, digits, hyphen, and
underscore, none of them is useful.
The latter three have no test coverage. Drop them.
Keep \\ to avoid (more) gratuitous incompatibility with JSON.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190913201349.24332-8-armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/ident-with-escape.err')
-rw-r--r-- | tests/qapi-schema/ident-with-escape.err | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qapi-schema/ident-with-escape.err b/tests/qapi-schema/ident-with-escape.err index e69de29bb2..5517dcb4b1 100644 --- a/tests/qapi-schema/ident-with-escape.err +++ b/tests/qapi-schema/ident-with-escape.err @@ -0,0 +1 @@ +tests/qapi-schema/ident-with-escape.json:3:3: Unknown escape \u |