Re: [PATCH v4 06/18] scripts/qapi/parser.py: improve doc comment indent handling

2020-03-10 Thread Richard Henderson
On 3/9/20 8:43 AM, Peter Maydell wrote: > Make the handling of indentation in doc comments more sophisticated, > so that when we see a section like: > > Notes: some text >some more text > indented line 3 > > we save it for the doc-comment processing code as: > > some text > som

[PATCH v4 06/18] scripts/qapi/parser.py: improve doc comment indent handling

2020-03-09 Thread Peter Maydell
Make the handling of indentation in doc comments more sophisticated, so that when we see a section like: Notes: some text some more text indented line 3 we save it for the doc-comment processing code as: some text some more text indented line 3 and when we see a section with