summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2025-06-27 12:39:57 -0600
committerJonathan Corbet <corbet@lwn.net>2025-07-01 13:11:58 -0600
commitd06c54fd3e84e2e740c0cb2b5613a088e8a42e9a (patch)
tree3e0fa2be3b287c03ca6a36005a09dfe386e2a9ce /scripts/lib/kdoc/kdoc_re.py
parent0aa3675c26b976db2b645385e8a7990270b39db0 (diff)
docs: kdoc: rework process_export() slightly
Reorganize process_export() to eliminate duplicated code, don't look for exports in states where we don't expect them, and don't bother with normal state-machine processing if an export declaration has been found. Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20250627184000.132291-6-corbet@lwn.net
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions