Markus Armbruster bf00dc19f3 qapi: Improve error position for bogus invalid "Returns" section
When something other than a command has a "Returns" section, the error
message points to the beginning of the definition comment.  Point to
the "Returns" section instead.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240216145841.2099240-7-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2024-02-26 10:43:56 +01:00
..
2023-02-23 12:49:39 +01:00
2021-04-30 12:59:54 +02:00
2023-10-19 07:02:29 +02:00
2023-09-07 13:32:37 +02:00
2023-02-23 12:49:39 +01:00