aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-04 16:39:47 +0000
committerthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-04 16:39:47 +0000
commit06675166ce6fe60f8d37ec96a954e95883a184c6 (patch)
tree3a0812372fa3d0e10ed58a8c05da5b162a18cabd /contrib
parent416737c1dbd335d97e6d80f4c6595aaf39abbd88 (diff)
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218382 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog5
-rwxr-xr-xcontrib/check_GNU_style.sh2
2 files changed, 6 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index e5ccfe566d0..edcf6b74cb0 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -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.
diff --git a/contrib/check_GNU_style.sh b/contrib/check_GNU_style.sh
index ef8fdda6ddd..5f901901306 100755
--- a/contrib/check_GNU_style.sh
+++ b/contrib/check_GNU_style.sh
@@ -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:]]+\)' $*