qapi: Polish reporting of bogus member documentation
commite4def7875520aef0643e83698e397abe229a8953
authorMarkus Armbruster <armbru@redhat.com>
Thu, 24 Oct 2019 11:02:36 +0000 (24 13:02 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 29 Oct 2019 06:35:16 +0000 (29 07:35 +0100)
treead03c6caae370252b8c920e95e399f9222f68b6d
parentb3cdff10e5e82ba7b99c59ab3089883f6bb85ed8
qapi: Polish reporting of bogus member documentation

Improve error messages from

    the following documented members are not in the declaration: a
    the following documented members are not in the declaration: aa, bb

to the more concise

    documented member 'a' does not exist
    documented members 'aa', 'bb' do not exist

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191024110237.30963-19-armbru@redhat.com>
scripts/qapi/parser.py
tests/qapi-schema/doc-bad-alternate-member.err
tests/qapi-schema/doc-bad-boxed-command-arg.err
tests/qapi-schema/doc-bad-command-arg.err
tests/qapi-schema/doc-bad-enum-member.err
tests/qapi-schema/doc-bad-event-arg.err
tests/qapi-schema/doc-bad-union-member.err