From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CA14C4363A for ; Tue, 27 Oct 2020 10:20:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 34D6522264 for ; Tue, 27 Oct 2020 10:20:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603794043; bh=tC18bzW4JkPBFDUHYcALgWxOKR2muT+CvC/Ly3k/fxg=; h=From:To:Cc:Subject:Date:List-ID:From; b=JBrBlHL1VPCjnUT3WsBVTXyVsUZejR00xVJEcQ/p9A4g9A2InZ2KlPwDEkgKGMfVz dUC1IA6YuKmZUHQVjRbRBafPwObXY3P+wJmVcobUw0HPSbklmn1fbrLJ/y5nevFHtR ruZszK3kzfVqeQiEToSlnC5Yq8LngZnSf2aN+Sw8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2897945AbgJ0KUm (ORCPT ); Tue, 27 Oct 2020 06:20:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:55514 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2897942AbgJ0KUm (ORCPT ); Tue, 27 Oct 2020 06:20:42 -0400 Received: from mail.kernel.org (ip5f5ad5af.dynamic.kabel-deutschland.de [95.90.213.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ED48922264; Tue, 27 Oct 2020 10:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603794042; bh=tC18bzW4JkPBFDUHYcALgWxOKR2muT+CvC/Ly3k/fxg=; h=From:To:Cc:Subject:Date:From; b=orrjiV7dpQ57wbZTzFjWLvKZXNhi5DH4CB5kfKpXqn+ucvhbi5TJVgi3wNCjEVMUC dC/TNiN6R8VC8rY2FZnkowY5RnoH3tzSwNOo8HMbcjz9PfX9LuF32/1r1VwzsG/YIm QGd9OsKMQZwVLW4fnbhMyvDp9pufwEAwp/0Ivi4E= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kXM5n-003Fge-Es; Tue, 27 Oct 2020 11:20:39 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH v4 0/2] kernel-doc: fix typedef function parser Date: Tue, 27 Oct 2020 11:20:35 +0100 Message-Id: X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org Hi Jon, This small series contain the latest version of the typedef parsing fixes that we've been discussing as: [PATCH v3 01/56] scripts: kernel-doc: fix typedef parsing As I said there, at least while discussing it, I opted to split the patch in two. The first one changes the regex; The second one is just a cleanup that splits the 3 arguments into 3 vars. >From my side, I'm not 100% confident if the second patch is worth or not. The advantage of it is that it makes easier to read the regex. It also also makes clearer about the differences between the two typedef regex'es that are used there. On the other hand, using a site like regex101.com to test it is harder, as one needs to copy-and-paste 3 expressions instead of just one. So, when appliying, feel free to decide to either: - merge both as-is (two separate patches); - fold them into a single patch; - drop the second patch. Mauro Carvalho Chehab (2): scripts: kernel-doc: fix typedef parsing scripts: kernel-doc: split typedef complex regex scripts/kernel-doc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) -- 2.26.2