From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10121 invoked by alias); 18 May 2015 07:18:24 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 10108 invoked by uid 89); 18 May 2015 07:18:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 18 May 2015 07:18:21 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1YuFJZ-0000vi-1o from Tom_deVries@mentor.com for gcc-patches@gcc.gnu.org; Mon, 18 May 2015 00:18:17 -0700 Received: from [127.0.0.1] (137.202.0.76) by SVR-IES-FEM-02.mgc.mentorg.com (137.202.0.106) with Microsoft SMTP Server id 14.3.224.2; Mon, 18 May 2015 08:18:16 +0100 Message-ID: <55599235.9060505@mentor.com> Date: Mon, 18 May 2015 07:18:00 -0000 From: Tom de Vries User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: GCC Patches Subject: [Committed] check_GNU_style.sh: Improve readability function calls Content-Type: multipart/mixed; boundary="------------020407050807080407060607" X-SW-Source: 2015-05/txt/msg01529.txt.bz2 --------------020407050807080407060607 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-length: 42 Hi, committed as obvious. Thanks, - Tom --------------020407050807080407060607 Content-Type: text/x-patch; name="0001-check_GNU_style.sh-Improve-readability-function-call.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-check_GNU_style.sh-Improve-readability-function-call.pa"; filename*1="tch" Content-length: 1045 check_GNU_style.sh: Improve readability function calls 2015-05-18 Tom de Vries * check_GNU_style.sh: Improve readability function calls. --- contrib/check_GNU_style.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/check_GNU_style.sh b/contrib/check_GNU_style.sh index 90c612f..b86c474 100755 --- a/contrib/check_GNU_style.sh +++ b/contrib/check_GNU_style.sh @@ -170,11 +170,12 @@ g 'Sentences should end with a dot. Dot, space, space, end of the comment.' \ '[[:alnum:]][[:blank:]]*\*/' vg 'There should be exactly one space between function name and parentheses.' \ - '\#define' '[[:alnum:]]([[:blank:]]{2,})?\(' + '\#define' \ + '[[:alnum:]]([[:blank:]]{2,})?\(' g 'There should be no space before closing parentheses.' \ '[[:graph:]][[:blank:]]+\)' ag 'Braces should be on a separate line.' \ - '\{' 'if[[:blank:]]\(|while[[:blank:]]\(|switch[[:blank:]]\(' - + '\{' \ + 'if[[:blank:]]\(|while[[:blank:]]\(|switch[[:blank:]]\(' -- 1.9.1 --------------020407050807080407060607--