]> git.proxmox.com Git - mirror_qemu.git/commit
qapi/machine.json: Escape a literal '*' in doc comment
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 25 Sep 2020 16:23:01 +0000 (17:23 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 29 Sep 2020 15:55:39 +0000 (17:55 +0200)
commit44e12af7754b60c0c80c52e63422f33d92127929
tree2444a484d98e9b08415f983648b1a9bc469d7f5c
parenta69a6d4b4d4fae2e3d2506241e22a78ff1732283
qapi/machine.json: Escape a literal '*' in doc comment

For rST, '*' is a kind of inline markup (for emphasis), so
"*-softmmu" is a syntax error because of the missing closing '*'.
Escape the '*' with a '\'.

The texinfo document generator will leave the '\' in the
output, which is not ideal, but that generator is going to
go away in a subsequent commit.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20200925162316.21205-7-peter.maydell@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
qapi/machine.json