Permalink
Browse files

check_raise: catch bad syntax ("@raise [")

  • Loading branch information...
toton committed Dec 9, 2011
1 parent 15ffb09 commit 8f72e8676fe16f86a6160e942528bfad099b3b0f
Showing with 3 additions and 0 deletions.
  1. +3 −0 check_raise
View
@@ -78,6 +78,9 @@ header "String arguments nobody should rely upon:" \
header "@raises instead of @raise:" \
grep -n @raises *
+header "Square brackets that harm ocamldoc:" \
+ grep -n "@raise[[:space:]]\[" *
+
header Typos: \
grep -n "Invalid_arg[[:space:]]" `find . -not -name batDynArray\*`

0 comments on commit 8f72e86

Please sign in to comment.