summaryrefslogtreecommitdiff
path: root/tools/patcheck
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-02-27 21:08:32 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-02-27 21:08:32 +0000
commitf55e1812d016610839ea09740eb3f3ea535b81d6 (patch)
treeed30afc8fb5325ff0d2ef94454b9aa0c66c0738c /tools/patcheck
parent771ac0de04a3301cb6b1f1bdba3b26fcfc573d18 (diff)
Improve detection of non doxy comments.
Originally committed as revision 17648 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tools/patcheck')
-rwxr-xr-xtools/patcheck2
1 files changed, 1 insertions, 1 deletions
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