aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2023-04-28 12:54:24 +0200
committerMarkus Armbruster <armbru@redhat.com>2023-05-10 09:34:17 +0200
commit3e32dca3f0d1eddcfecf963d94b9ff60e3e08448 (patch)
tree72bf6171e2a5c8096876420c789f55700ad45aed /tests
parent9b2c6746d30a44d222e9124faee59eb05703b6ae (diff)
downloadqemu-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 'tests')
0 files changed, 0 insertions, 0 deletions