mirror of
https://github.com/qemu/qemu.git
synced 2025-08-02 04:35:42 +00:00

Split check_name() into check_name_is_str() and check_name_str(), keep check_name() as a wrapper. Move add_name()'s call into its caller check_exprs(), and inline. This permits delaying check_name_str() there, so its error message gains an "in definition" line. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20190927134639.4284-10-armbru@redhat.com>
3 lines
146 B
Plaintext
3 lines
146 B
Plaintext
tests/qapi-schema/reserved-command-q.json: In command 'q-unix':
|
|
tests/qapi-schema/reserved-command-q.json:5: 'command' uses invalid name 'q-unix'
|