qapi: Reject "Returns" section when command doesn't return anything
commite1f684ea2e80800e74feeeaa36deed41cd3ff30f
authorMarkus Armbruster <armbru@redhat.com>
Tue, 27 Feb 2024 11:39:21 +0000 (27 12:39 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 4 Mar 2024 06:12:40 +0000 (4 07:12 +0100)
treef4f6e405ed3b5a09b6529039784c61d40a582a85
parentab07e96c46c757ac1a020bd1cf4c81633fc88750
qapi: Reject "Returns" section when command doesn't return anything

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240227113921.236097-14-armbru@redhat.com>
scripts/qapi/parser.py
tests/qapi-schema/doc-invalid-return2.err [new file with mode: 0644]
tests/qapi-schema/doc-invalid-return2.json [new file with mode: 0644]
tests/qapi-schema/doc-invalid-return2.out [new file with mode: 0644]
tests/qapi-schema/meson.build