From: Tom de Vries Date: Mon, 18 May 2015 07:07:27 +0000 (+0000) Subject: check_GNU_style.sh: Improve readability function calls X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e425ad6866ce4e501ba078cc1815c0ff1dc68a8;p=gcc.git check_GNU_style.sh: Improve readability function calls 2015-05-18 Tom de Vries * check_GNU_style.sh: Improve readability function calls. From-SVN: r223282 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index e9768a21a10..eb350088f30 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2015-05-18 Tom de Vries + + * check_GNU_style.sh: Improve readability function calls. + 2015-05-12 Tom de Vries * check_GNU_style.sh (col): Fix tab size. diff --git a/contrib/check_GNU_style.sh b/contrib/check_GNU_style.sh index 90c612ff1cb..b86c4742acf 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:]]\('