diff options
author | Jonathan Corbet <corbet@lwn.net> | 2025-06-27 12:23:05 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-06-27 12:23:05 -0600 |
commit | c7eedb09417e4372183bf1843676d2008da340d5 (patch) | |
tree | 3b3b26d6833f3845c7a879edefec4d48489ef1d0 /scripts/lib/kdoc/kdoc_re.py | |
parent | 096f73ab01b95aaeaa7f678c56257d2e4c8490d3 (diff) |
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.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions