Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7D897C6FD1F for ; Tue, 19 Mar 2024 17:45:52 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.695550.1085388 (Exim 4.92) (envelope-from ) id 1rmdWs-0001Zx-OB; Tue, 19 Mar 2024 17:45:38 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 695550.1085388; Tue, 19 Mar 2024 17:45:38 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rmdWs-0001Zq-KH; Tue, 19 Mar 2024 17:45:38 +0000 Received: by outflank-mailman (input) for mailman id 695550; Tue, 19 Mar 2024 17:45:37 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rmdWr-0001ZU-Lq for xen-devel@lists.xenproject.org; Tue, 19 Mar 2024 17:45:37 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rmdWr-00019x-C6; Tue, 19 Mar 2024 17:45:37 +0000 Received: from [15.248.3.92] (helo=[10.24.67.36]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1rmdWr-0004fj-4k; Tue, 19 Mar 2024 17:45:37 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=BvFen0WvClk5egWfwknEsM7DYe3rRelZ8HEiYRYQ/QA=; b=lrnxoPCPExL2HEnqxjr4YE8yEd FXBDxxNnG54xLTEbX3wLRMJMlErVhPyxX/NN6FYVIwfvqp95VV9J3fSFX5OFxZ5TNfjU2Pbar/Pev 5x1iCFXwKqe4Bhcdr8kVQv2JhB6xb4jzUKz02s3w0CE05RbekXaBYd6sLage+GE5Y2Dw=; Message-ID: Date: Tue, 19 Mar 2024 17:45:35 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [XEN PATCH] docs/parse-support-md: Handle BulletList Content-Language: en-GB To: Anthony PERARD , xen-devel@lists.xenproject.org Cc: Andrew Cooper , George Dunlap , Jan Beulich , Stefano Stabellini References: <20240319151509.8937-1-anthony.perard@citrix.com> From: Julien Grall In-Reply-To: <20240319151509.8937-1-anthony.perard@citrix.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Anthony, On 19/03/2024 15:15, Anthony PERARD wrote: > Commit d638e304f13a introduced a bullet list, but parse-support-md > choke on it as it doesn't know what to do about it. > > Introduce ri_BulletList() so that r_content() will find this new > function and call it instead of calling process_unknown(). > > Reported-by: Julien Grall > Fixes: d638e304f13a ("SUPPORT.MD: Fix matrix generation after 43c416d0d819 and 77c39a53cf5b") > Signed-off-by: Anthony PERARD My Perl knowledge is rubbish. But I tested the fix. So: Tested-by: Julien Grall Acked-by: Julien Grall Cheers, > --- > docs/parse-support-md | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/docs/parse-support-md b/docs/parse-support-md > index a397637639..b04f62da37 100755 > --- a/docs/parse-support-md > +++ b/docs/parse-support-md > @@ -218,6 +218,13 @@ sub ri_DefinitionList { > } > } > > +sub ri_BulletList { > + # Assume a paragraph introduce this bullet list, which would mean that > + # ri_Para() has already been called, and there's nothing else to do about > + # the caveat. > + return; > +} > + > sub process_unknown { > my ($c, $e) = @_; > $had_unknown = Dumper($e); -- Julien Grall