[monodoc] Support fields that match operator naming convention
[mono-project.git] / docs / check-exports
blob549a0d4ae5e238171b4f296cd4a2719b9ebd8fd9
1 #!/bin/sh
2 dir=`dirname $0`
4 for file in $*;
5 do
6 perl $dir/exdoc $file | grep ^Function: | sed -e 's/Function: //' -e 's/://' > documented
7 nm `dirname $file`/.libs/`basename $file .c`.o | grep ' T ' | sed 's/.* T //' > public
8 for i in `cat public | grep -v $dir/ignore`; do
9 if grep $i documented > /dev/null; then
10 true
11 else
12 echo $i is not documented | grep -v ves_icall
14 done
15 done