diff options
author | Markus Armbruster <armbru@redhat.com> | 2023-04-28 12:54:24 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-05-10 09:34:17 +0200 |
commit | 3e32dca3f0d1eddcfecf963d94b9ff60e3e08448 (patch) | |
tree | 72bf6171e2a5c8096876420c789f55700ad45aed /qom | |
parent | 9b2c6746d30a44d222e9124faee59eb05703b6ae (diff) | |
download | qemu-3e32dca3f0d1eddcfecf963d94b9ff60e3e08448.zip qemu-3e32dca3f0d1eddcfecf963d94b9ff60e3e08448.tar.gz qemu-3e32dca3f0d1eddcfecf963d94b9ff60e3e08448.tar.bz2 |
qapi: Rewrite parsing of doc comment section symbols and tags
To recognize a line starting with a section symbol and or tag, we
first split it at the first space, then examine the part left of the
space. We can just as well examine the unsplit line, so do that.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230428105429.1687850-13-armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
[Work around lack of walrus operator in Python 3.7 and older]
Diffstat (limited to 'qom')
0 files changed, 0 insertions, 0 deletions