check_GNU_style.sh: Warn for incorrect number of spaces in function call only if 0 or 2+ spaces found.

2014-12-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    contrib/
    * check_GNU_style.sh: Warn for incorrect number of spaces in function
    call only if 0 or 2+ spaces found.

From-SVN: r218382
This commit is contained in:
Thomas Preud'homme 2014-12-04 16:39:47 +00:00 committed by Thomas Preud'homme
parent 881083d629
commit 83f41b2484
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-12-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
* check_GNU_style.sh: Warn for incorrect number of spaces in function
call only if 0 or 2+ spaces found.
2014-12-02 Tobias Burnus <burnus@net-b.de>
* download_prerequisites: Download ISL 0.14 instead of 0.12.2.

View File

@ -113,7 +113,7 @@ 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:]]|[[:blank:]]{2,})\(' $*
'\#define' '[[:alnum:]]([[:blank:]]{2,})?\(' $*
g 'There should be no space before closing parentheses.' \
'[[:graph:]][[:blank:]]+\)' $*