Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: kdoc: remove redundant comment stripping in dump_typedef()

By the time we get here, comments have long since been stripped out; there
is no need to do it again.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>

-3
-3
scripts/lib/kdoc/kdoc_parser.py
··· 1034 1034 typedef1 = KernRe(r'typedef' + typedef_type + r'\(' + typedef_ident + r'\)' + typedef_args) 1035 1035 typedef2 = KernRe(r'typedef' + typedef_type + typedef_ident + typedef_args) 1036 1036 1037 - # Strip comments 1038 - proto = KernRe(r'/\*.*?\*/', flags=re.S).sub('', proto) 1039 - 1040 1037 # Parse function typedef prototypes 1041 1038 for r in [typedef1, typedef2]: 1042 1039 if not r.match(proto):