[SCM] libav/experimental: Improve detection of non doxy comments.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:39:49 UTC 2013


The following commit has been merged in the experimental branch:
commit f55e1812d016610839ea09740eb3f3ea535b81d6
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Feb 27 21:08:32 2009 +0000

    Improve detection of non doxy comments.
    
    Originally committed as revision 17648 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/tools/patcheck b/tools/patcheck
index 87f412e..65beca9 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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list