aboutsummaryrefslogtreecommitdiff
path: root/scripts/kvm
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-09-27 15:46:35 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-09-28 17:17:45 +0200
commitfab12376d0234ce46517f88b9ecc9a6080522118 (patch)
tree2f7e8fa0d631ebc779a81f7b8f364fe2b10574c8 /scripts/kvm
parenteeb57c85da04b0c120562b25e3eac5cb16d8bf15 (diff)
qapi: Improve reporting of invalid 'if' further
check_if()'s errors don't point to the offending part of the expression. For instance: tests/qapi-schema/alternate-branch-if-invalid.json:2: 'if' condition ' ' makes no sense Other check_FOO() do, with the help of a @source argument. Make check_if() do that, too. The example above improves to: tests/qapi-schema/alternate-branch-if-invalid.json:2: 'if' condition ' ' of 'data' member 'branch' makes no sense Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190927134639.4284-23-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/kvm')
0 files changed, 0 insertions, 0 deletions