This is a set of miscellaneous improvements, finishing my pass over the first parsing pass and getting into the second ("dump_*") pass. Changes from v1: - Apply tags - Rework the KernRe microoptimization to avoid exceptions - Fix the stupid white-space error in patch 7 Jonathan Corbet (7): docs: kdoc: don't reinvent string.strip() docs: kdoc: micro-optimize KernRe docs: kdoc: remove the brcount floor in process_proto_type() docs: kdoc: rework type prototype parsing docs: kdoc: some tweaks to process_proto_function() docs: kdoc: Remove a Python 2 comment docs: kdoc: pretty up dump_enum() Documentation/sphinx/kerneldoc.py | 2 - scripts/lib/kdoc/kdoc_parser.py | 150 +++++++++++++++--------------- scripts/lib/kdoc/kdoc_re.py | 7 +- 3 files changed, 79 insertions(+), 80 deletions(-) -- 2.49.0