linux/tools/lib/python/kdoc
Mauro Carvalho Chehab 600079fdcf docs: kdoc: replace NestedMatch with CMatch
Our previous approach to solve nested structs were to use
NestedMatch. It works well, but adding support to parse delimiters
is very complex.

Instead, use CMatch, which uses a C tokenizer, making the code more
reliable and simpler.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <900bff66f8093402999f9fe055fbfa3fa33a8d8b.1773770483.git.mchehab+huawei@kernel.org>
2026-03-22 15:02:29 -06:00
..
__init__.py
c_lex.py docs: c_lex: properly implement a sub() method for CMatch 2026-03-22 15:02:29 -06:00
enrich_formatter.py docs: kdoc: enrich_formatter: Improve docstrings and comments 2026-01-23 11:37:38 -07:00
kdoc_files.py docs: kdoc_files: document KernelFiles() ABI 2026-03-09 10:23:20 -06:00
kdoc_item.py docs: kdoc_item: Improve docstrings and comments 2026-01-23 11:37:38 -07:00
kdoc_output.py docs: kdoc_output: better handle lists 2026-03-09 10:34:39 -06:00
kdoc_parser.py docs: kdoc: replace NestedMatch with CMatch 2026-03-22 15:02:29 -06:00
kdoc_re.py docs: kdoc_re: make NestedMatch use KernRe 2026-03-03 10:47:25 -07:00
latex_fonts.py docs: kdoc: latex_fonts: Improve docstrings and comments 2026-01-23 11:37:38 -07:00
parse_data_structs.py docs: kdoc: parse_data_structs: Improve docstrings and comments 2026-01-23 11:37:38 -07:00
python_version.py docs: kdoc: python_version: Improve docstrings and comments 2026-01-23 11:37:38 -07:00
xforms_lists.py docs: kdoc: replace NestedMatch with CMatch 2026-03-22 15:02:29 -06:00