diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-03-15 13:57:21 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-03-16 07:13:03 +0100 |
commit | 7947016d1ceb08584f0d0a3f62b8049ab27219ba (patch) | |
tree | c5f6ea2ab117ef3d4a81077fa59444e4893759be /tests/qapi-schema/enum-missing-data.json | |
parent | e7823a2adf7222d0513b8e7cfd8af85d407d4918 (diff) |
qapi: Move detection of doc / expression name mismatch
Move the check whether the doc matches the expression name from
check_definition_doc() to check_exprs(). This changes the error
location from the comment to the expression. Makes sense as the
message talks about the expression: "Definition of '%s' follows
documentation for '%s'". It's also a step towards getting rid of
check_docs().
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1489582656-31133-33-git-send-email-armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/enum-missing-data.json')
0 files changed, 0 insertions, 0 deletions