qemu-e2k/scripts/qapi
Marc-André Lureau a35c9bf82a qapi: add 'If:' condition to enum values documentation
Use a common function to generate the "If:..." line.

While at it, get rid of the existing \n\n (no idea why it was
there). Use a line-break in member description, this seems to look
slightly better in the plaintext version.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20181213123724.4866-19-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-12-14 06:52:48 +01:00
..
__init__.py qapi-gen: New common driver for code and doc generators 2018-03-02 13:14:09 -06:00
commands.py qapi/commands: add #if conditions to commands 2018-07-03 18:38:54 +02:00
common.py qapi: Add #if conditions to generated code members 2018-12-14 06:52:48 +01:00
doc.py qapi: add 'If:' condition to enum values documentation 2018-12-14 06:52:48 +01:00
events.py qapi-events: add 'if' condition to implicit event enum 2018-12-13 19:20:11 +01:00
introspect.py qapi: Add #if conditions to generated code members 2018-12-14 06:52:48 +01:00
types.py qapi: Add #if conditions to generated code members 2018-12-14 06:52:48 +01:00
visit.py qapi: Add #if conditions to generated code members 2018-12-14 06:52:48 +01:00