mirror-linux/tools/lib/python/kdoc
Steven Price 9dbbd32ecd kdoc: allow dots in inline @param names
Inline kernel-doc blocks failed to parse tags containing dots (e.g.
creator.process_name in panfrost_gem.h) because the @name regex only
matched word characters. Modify the single-line pattern to match
doc_inline_sect so it includes \. and parses the same as a multi-line
comment.

Signed-off-by: Steven Price <steven.price@arm.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20251211104851.45330-1-steven.price@arm.com>
2025-12-22 15:05:22 -07:00
..
__init__.py
enrich_formatter.py
kdoc_files.py docs: kdoc: various fixes for grammar, spelling, punctuation 2025-11-29 08:35:23 -07:00
kdoc_item.py
kdoc_output.py kernel-doc: add support to handle DEFINE_ variables 2025-12-22 14:43:25 -07:00
kdoc_parser.py kdoc: allow dots in inline @param names 2025-12-22 15:05:22 -07:00
kdoc_re.py docs: kdoc: various fixes for grammar, spelling, punctuation 2025-11-29 08:35:23 -07:00
latex_fonts.py
parse_data_structs.py
python_version.py docs: kdoc: various fixes for grammar, spelling, punctuation 2025-11-29 08:35:23 -07:00