From 6c25f346820b1ec00982e857aec23be0ece47856 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 17 Feb 2009 18:20:06 +0000 Subject: [PATCH] Fix @param[in/out] handling Originally committed as revision 17395 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tools/patcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patcheck b/tools/patcheck index ac4de1aea5..9720cb26fb 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -81,7 +81,7 @@ hiegrep ':\+ *{ *$' '{ should be on the same line as the related previous state 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