mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00

Enumeration type documentation comments are not checked, as
demonstrated by test doc-bad-enum-member. This is because we neglect
to call self.doc.check() for enumeration types. Messed up in
816a57cd6e
"qapi: Fix detection of bogus member documentation". Fix
it.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191024110237.30963-10-armbru@redhat.com>
8 lines
134 B
JSON
8 lines
134 B
JSON
# Members listed in the doc comment must exist in the actual schema
|
|
|
|
##
|
|
# @Foo:
|
|
# @a: a
|
|
# @b: b
|
|
##
|
|
{ 'enum': 'Foo', 'data': [ 'b' ] }
|