if test -f "$DOC_MODULE-undeclared.txt"; then
undeclared=`cat "$DOC_MODULE-undeclared.txt"`
if test -n "$undeclared"; then
- echo "*** ERROR: Undeclared documentation symbols:" 1>&2
+ echo Undeclared documentation symbols: 1>&2
cat "$DOC_MODULE-undeclared.txt" 1>&2
stat=1
fi
if test -f "$DOC_MODULE-unused.txt"; then
unused=`cat "$DOC_MODULE-unused.txt"`
if test -n "$unused"; then
- echo "*** ERROR: Unused documentated symbols:" 1>&2
+ echo Unused documentated symbols: 1>&2
cat "$DOC_MODULE-unused.txt" 1>&2
stat=1
fi
grep '^0 not documented' "$DOC_MODULE-undocumented.txt" >/dev/null; then
:
else
- echo "*** ERROR: Incomplete or undocumented symbols:" 1>&2
+ echo Incomplete or undocumented symbols: 1>&2
cat "$DOC_MODULE-undocumented.txt" 1>&2
stat=1
fi
fi >&2
+
+exit $stat