mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
tests/qapi-schema/redefined-command.json: In command 'foo':
|
||||
tests/qapi-schema/redefined-command.json:3: command 'foo' is already defined
|
||||
tests/qapi-schema/redefined-command.json:3: 'foo' is already defined
|
||||
tests/qapi-schema/redefined-command.json: In command 'foo':
|
||||
tests/qapi-schema/redefined-command.json:2: previous definition
|
||||
|
||||
Reference in New Issue
Block a user