From 06675166ce6fe60f8d37ec96a954e95883a184c6 Mon Sep 17 00:00:00 2001 From: thopre01 Date: Thu, 4 Dec 2014 16:39:47 +0000 Subject: 2014-12-04 Thomas Preud'homme 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 --- contrib/check_GNU_style.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/check_GNU_style.sh') 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:]]+\)' $* -- cgit v1.2.1