[FFmpeg-cvslog] r17395 - trunk/tools/patcheck
michael
subversion
Tue Feb 17 19:20:07 CET 2009
Author: michael
Date: Tue Feb 17 19:20:06 2009
New Revision: 17395
Log:
Fix @param[in/out] handling
Modified:
trunk/tools/patcheck
Modified: trunk/tools/patcheck
==============================================================================
--- trunk/tools/patcheck Tue Feb 17 16:44:11 2009 (r17394)
+++ trunk/tools/patcheck Tue Feb 17 19:20:06 2009 (r17395)
@@ -81,7 +81,7 @@ hiegrep ':\+ *{ *$' '{ should be on the
rm $TMP
-for i in `grep -H '^+.*@param' $*| sed 's/^\([^:]*\):.*@param *\([a-zA-Z0-9_]*\) .*$/\1:\2/'` ; do
+for i in `grep -H '^+.*@param' $*| sed 's/^\([^:]*\):.*@param\(\[.*\]\|\) *\([a-zA-Z0-9_]*\) .*$/\1:\3/'` ; do
doxpar=`echo $i | sed 's/^.*:\(.*\)$/\1/'`
file=`echo $i | sed 's/^\([^:]*\):.*$/\1/'`
grep " *$doxpar *[),]" $file | grep -v '@param' >/dev/null || grep --color=always "@param *$doxpar" $file >>$TMP
More information about the ffmpeg-cvslog
mailing list