summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/redefined-event.err
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-09-27 15:46:38 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-09-28 17:17:48 +0200
commit56d2df5e65d873ca0e9841f7bb7676cab759f8da (patch)
tree980b1f5956a2c412f7cd648b9012d303e5ab140e /tests/qapi-schema/redefined-event.err
parentf63326985a23cc1bb6327a003050e6fdb52eb9cd (diff)
downloadqemu-56d2df5e65d873ca0e9841f7bb7676cab759f8da.zip
qapi: Improve reporting of redefinition
Point to the previous definition, unless it's a built-in. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20190927134639.4284-26-armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/redefined-event.err')
-rw-r--r--tests/qapi-schema/redefined-event.err4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/qapi-schema/redefined-event.err b/tests/qapi-schema/redefined-event.err
index fd02d38157..606c6e4497 100644
--- a/tests/qapi-schema/redefined-event.err
+++ b/tests/qapi-schema/redefined-event.err
@@ -1,2 +1,4 @@
tests/qapi-schema/redefined-event.json: In event 'EVENT_A':
-tests/qapi-schema/redefined-event.json:3: event 'EVENT_A' is already defined
+tests/qapi-schema/redefined-event.json:3: 'EVENT_A' is already defined
+tests/qapi-schema/redefined-event.json: In event 'EVENT_A':
+tests/qapi-schema/redefined-event.json:2: previous definition