From f55e1812d016610839ea09740eb3f3ea535b81d6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 27 Feb 2009 21:08:32 +0000 Subject: Improve detection of non doxy comments. Originally committed as revision 17648 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tools/patcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/patcheck') diff --git a/tools/patcheck b/tools/patcheck index 87f412e731..65beca9db9 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -93,7 +93,7 @@ if test -e $TMP ; then cat $TMP fi -egrep -B2 $OPT '^(\+|) *'"$ERE_TYPES" $* | egrep -A2 --color=always '(:|-)\+.*[^/]/(\*([^*]|$)|/([^/]|$))' > $TMP && echo -e "\n Non doxy comments" +egrep -B2 $OPT '^(\+|) *('"$ERE_TYPES"'|# *define)' $* | egrep -A2 --color=always '(:|-)\+[^/]*/(\*([^*]|$)|/([^/]|$))' > $TMP && echo -e "\n Non doxy comments" cat $TMP rm $TMP -- cgit v1.2.3