2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/scripts/lib/kdoc
Jonathan Corbet 0cde7924b8 docs: kdoc: split the processing of the two remaining inline states
Now that "inline_*" are just ordinary parser states, split them into two
separate functions, getting rid of some nested conditional logic.

The original process_inline() would simply ignore lines that didn't match
any of the regexes (those lacking the initial " * " marker).  I have
preserved that behavior, but we should perhaps emit a warning instead.

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-9-corbet@lwn.net
2025-07-01 13:11:58 -06:00
..
kdoc_files.py scripts: kernel-doc: prevent a KeyError when checking output 2025-05-21 03:53:40 -06:00
kdoc_output.py scripts/lib/kdoc: change mode to 0644 2025-04-28 17:28:14 -06:00
kdoc_parser.py docs: kdoc: split the processing of the two remaining inline states 2025-07-01 13:11:58 -06:00
kdoc_re.py scripts/lib/kdoc: change mode to 0644 2025-04-28 17:28:14 -06:00