diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-09-27 15:46:16 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-09-28 17:17:18 +0200 |
commit | 19e950d9d47d3efe4c8d5c6c872a53889a54363c (patch) | |
tree | 55ece4d49cd14a4aaae60711a4d1ddab36164984 /tests/qapi-schema/args-array-unknown.err | |
parent | 57608a5299064f7219d00447160103946c796436 (diff) |
qapi: New QAPISourceInfo, replacing dict
We track source locations with a dict of the form
{'file': FNAME, 'line': LINENO, 'parent': PARENT}
where PARENT is None for the main file, and the include directive's
source location for included files.
This is serviceable enough, but the next commit will add information,
and that's going to come out cleaner if we turn this into a class. So
do that.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190927134639.4284-4-armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/args-array-unknown.err')
0 files changed, 0 insertions, 0 deletions