Fix @param[in/out] handling
Originally committed as revision 17395 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
41d7f7bdb9
commit
6c25f34682
@ -81,7 +81,7 @@ hiegrep ':\+ *{ *$' '{ should be on the same line as the related previous state
|
|||||||
|
|
||||||
|
|
||||||
rm $TMP
|
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/'`
|
doxpar=`echo $i | sed 's/^.*:\(.*\)$/\1/'`
|
||||||
file=`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
|
grep " *$doxpar *[),]" $file | grep -v '@param' >/dev/null || grep --color=always "@param *$doxpar" $file >>$TMP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user