]> gcc.gnu.org Git - gcc.git/commitdiff
check_GNU_style.sh: Improve readability function calls
authorTom de Vries <tom@codesourcery.com>
Mon, 18 May 2015 07:07:27 +0000 (07:07 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 18 May 2015 07:07:27 +0000 (07:07 +0000)
2015-05-18  Tom de Vries  <tom@codesourcery.com>

* check_GNU_style.sh: Improve readability function calls.

From-SVN: r223282

contrib/ChangeLog
contrib/check_GNU_style.sh

index e9768a21a10ec23ed520c95342944a1a7f286ad1..eb350088f3071eb0213b6aedad7971583acf3ac3 100644 (file)
@@ -1,3 +1,7 @@
+2015-05-18  Tom de Vries  <tom@codesourcery.com>
+
+       * check_GNU_style.sh: Improve readability function calls.
+
 2015-05-12  Tom de Vries  <tom@codesourcery.com>
 
        * check_GNU_style.sh (col): Fix tab size.
index 90c612ff1cb051b8a58a23d5cc9997673347a24b..b86c4742acf1a512202697d589573280fbd7c124 100755 (executable)
@@ -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:]]\('
This page took 0.066467 seconds and 5 git commands to generate.