Re: [PATCH v3 08/13] qapi/parser: Introduce NullSection

2021-09-30 Thread John Snow
On Thu, Sep 30, 2021 at 5:35 AM Markus Armbruster wrote: > John Snow writes: > > > Here's the weird bit. QAPIDoc generally expects -- virtually everywhere > > -- that it will always have a current section. The sole exception to > > this is in the case that end_comment() is called, which leaves u

Re: [PATCH v3 08/13] qapi/parser: Introduce NullSection

2021-09-30 Thread Markus Armbruster
John Snow writes: > Here's the weird bit. QAPIDoc generally expects -- virtually everywhere > -- that it will always have a current section. The sole exception to > this is in the case that end_comment() is called, which leaves us with > *no* section. However, in this case, we also don't expect t

[PATCH v3 08/13] qapi/parser: Introduce NullSection

2021-09-29 Thread John Snow
Here's the weird bit. QAPIDoc generally expects -- virtually everywhere -- that it will always have a current section. The sole exception to this is in the case that end_comment() is called, which leaves us with *no* section. However, in this case, we also don't expect to actually ever mutate the c