[PATCH v3 32/63] qapi/parser: adjust info location for doc body section

2025-03-11 Thread John Snow
Instead of using the info object for the doc block as a whole (which always points to the very first line of the block), update the info pointer for each call to ensure_untagged_section when the existing section is otherwise empty. This way, Sphinx error information will match precisely to where th

Re: [PATCH v3 32/63] qapi/parser: adjust info location for doc body section

2025-03-11 Thread Markus Armbruster
John Snow writes: > Instead of using the info object for the doc block as a whole (which > always points to the very first line of the block), update the info > pointer for each call to ensure_untagged_section when the existing > section is otherwise empty. This way, Sphinx error information will