aboutsummaryrefslogtreecommitdiff
path: root/disas
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-02-16 15:58:40 +0100
committerMarkus Armbruster <armbru@redhat.com>2024-02-26 10:43:56 +0100
commitadb0193b90bd1fecd7d6dda70fc1c2d2e45ceae0 (patch)
treec175af58d2175af50f057a8ff724a6030fdeaf89 /disas
parent629c5075aa6fb853855256cd7d380903e9b7ffbc (diff)
downloadqemu-adb0193b90bd1fecd7d6dda70fc1c2d2e45ceae0.zip
qemu-adb0193b90bd1fecd7d6dda70fc1c2d2e45ceae0.tar.gz
qemu-adb0193b90bd1fecd7d6dda70fc1c2d2e45ceae0.tar.bz2
qapi: Divorce QAPIDoc from QAPIParseError
QAPIDoc stores a reference to QAPIParser just to pass it to QAPIParseError. The resulting error position depends on the state of the parser. It happens to be the current comment line. Servicable, but action at a distance. The commit before previous moved most uses of QAPIParseError from QAPIDoc to QAPIParser. There are just three left. Convert them to QAPISemError. This involves passing info to a few methods. Then drop the reference to QAPIParser. The three errors lose the column number. Not really interesting here: it's the comment line's indentation. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240216145841.2099240-17-armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'disas')
0 files changed, 0 insertions, 0 deletions