Originally committed as revision 25417 to svn://svn.ffmpeg.org/ffmpeg/trunk
hiegrep2 "$ERE_TYPES" '(static|av_|ff_|typedef|:\+[^a-zA-Z_])' 'Non static with no ff_/av_ prefix' $*
hiegrep ':\+[^}#]*else' 'missing } prior to else' $*
+hiegrep '(if|while|for)\(' 'missing whitespace between keyword and (' $*
+hiegrep '(else|do){' 'missing whitespace between keyword and {' $*
+hiegrep '}(else|while)' 'missing whitespace between } and keyword' $*
#FIXME this should print the previous statement maybe
hiegrep ':\+ *{ *$' '{ should be on the same line as the related previous statement' $*