From 0fb7fef8794141a6a3bbca039dd39d70be00b9ec Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 23 May 2013 16:00:10 +0200 Subject: tools/patcheck: fix misdetection with stuff like const_names Signed-off-by: Michael Niedermayer --- tools/patcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/patcheck') diff --git a/tools/patcheck b/tools/patcheck index 924a90d638..59a16efa97 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -50,7 +50,7 @@ hiegrep2 '\b_[a-zA-Z0-9_]{1,}' '__(asm|attribute)([^a-zA-Z0-9]|$)' 'reserved ide hiegrep '//[-/<\* ]*$' 'empty comment' $* hiegrep '/\*[-<\* ]*\*/' 'empty comment' $* hiegrep 'for *\( *'"$ERE_PRITYP"' ' 'not gcc 2.95 compatible' $* -hiegrep '(static|inline|const) *\1' 'duplicate word' $* +hiegrep '(static|inline|const) *\1[^_a-zA-Z]' 'duplicate word' $* hiegrep 'INIT_VLC_USE_STATIC' 'forbidden ancient vlc type' $* hiegrep '=[-+\*\&] ' 'looks like compound assignment' $* hiegrep2 '/\*\* *[a-zA-Z0-9].*' '\*/' 'Inconsistently formatted doxygen comment' $* -- cgit v1.2.3