Re: [PATCH 30/57] qapi/parser: adjust info location for doc body section

2025-03-05 Thread Markus Armbruster
John Snow writes: > On Wed, Mar 5, 2025 at 5:10 AM Markus Armbruster wrote: > >> 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_

Re: [PATCH 30/57] qapi/parser: adjust info location for doc body section

2025-03-05 Thread John Snow
On Wed, Mar 5, 2025 at 5:10 AM Markus Armbruster wrote: > 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 >

Re: [PATCH 30/57] qapi/parser: adjust info location for doc body section

2025-03-05 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

[PATCH 30/57] qapi/parser: adjust info location for doc body section

2025-03-04 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