aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/lib/kdoc/kdoc_item.py
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2025-06-27 12:23:05 -0600
committerJonathan Corbet <corbet@lwn.net>2025-06-27 12:23:05 -0600
commitc7eedb09417e4372183bf1843676d2008da340d5 (patch)
tree3b3b26d6833f3845c7a879edefec4d48489ef1d0 /scripts/lib/kdoc/kdoc_item.py
parentdocs: kdoc: remove the inline states-within-a-state (diff)
downloadwireguard-linux-c7eedb09417e4372183bf1843676d2008da340d5.tar.xz
wireguard-linux-c7eedb09417e4372183bf1843676d2008da340d5.zip
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_item.py')
0 files changed, 0 insertions, 0 deletions