[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <878s4d45ez.fsf@meer.lwn.net>
Date: Mon, 17 May 2021 11:49:08 -0600
From: Jonathan Corbet <corbet@....net>
To: Aditya Srivastava <yashsri421@...il.com>
Cc: yashsri421@...il.com, lukas.bulwahn@...il.com, willy@...radead.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC v4] scripts: kernel-doc: reduce repeated regex expressions
into variables
Aditya Srivastava <yashsri421@...il.com> 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@....net>
> Signed-off-by: Aditya Srivastava <yashsri421@...il.com>
> ---
> 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
Powered by blists - more mailing lists