[FFmpeg-cvslog] r25417 - trunk/tools/patcheck
michael
subversion
Fri Oct 8 21:11:36 CEST 2010
Author: michael
Date: Fri Oct 8 21:11:36 2010
New Revision: 25417
Log:
Check for more 'indent -kr' whitespace details.
Modified:
trunk/tools/patcheck
Modified: trunk/tools/patcheck
==============================================================================
--- trunk/tools/patcheck Fri Oct 8 20:07:40 2010 (r25416)
+++ trunk/tools/patcheck Fri Oct 8 21:11:36 2010 (r25417)
@@ -95,6 +95,9 @@ hiegrep2 '\.channel_layouts *= *\(' 'con
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' $*
More information about the ffmpeg-cvslog
mailing list