Thread (19 messages) 19 messages, 5 authors, 2021-05-17

Re: [RFC v4] scripts: kernel-doc: reduce repeated regex expressions into variables

From: Jonathan Corbet <corbet@lwn.net>
Date: 2021-05-17 17:49:12
Also in: linux-doc, lkml

Aditya Srivastava [off-list ref] writes:
There are some regex expressions in the kernel-doc script, which are used
repeatedly in the script.

Reduce such expressions into variables, which can be used everywhere.

A quick manual check found that no errors and warnings were added/removed
in this process.

Suggested-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Aditya Srivastava <redacted>
---
Changes in v4:
- Fix htmldocs warning at function parsing, involving repeated $type2 identifiers capture
- Re-tested against all files in kernel tree
Applied, thanks for stickint with this.

jon
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help