mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 22:33:36 +08:00
36a43905ff
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>
9 lines
134 B
JSON
9 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' ] }
|