aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-10-10 19:35:17 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-10-10 19:35:17 +0000
commit54ce8a4c8b3fa80f86e9c212cd3aa2654808e930 (patch)
tree5608af6a63fe5708a649292439e6a3573d31743c
parentf167a1a4f60c6e626fe604e4ea836c97a7dcd676 (diff)
downloadffmpeg-54ce8a4c8b3fa80f86e9c212cd3aa2654808e930.tar.gz
Clarify whitespace nitpicks in patcheck.
Originally committed as revision 25435 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xtools/patcheck6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/patcheck b/tools/patcheck
index ce07031e24..5416603e19 100755
--- a/tools/patcheck
+++ b/tools/patcheck
@@ -95,9 +95,9 @@ hiegrep2 '\.channel_layouts *= *\(' 'const' 'missing const for channel_layouts a
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' $*
+hiegrep '(if|while|for)\(' 'missing whitespace between keyword and ( (feel free to ignore)' $*
+hiegrep '(else|do){' 'missing whitespace between keyword and { (feel free to ignore)' $*
+hiegrep '}(else|while)' 'missing whitespace between } and keyword (feel free to ignore)' $*
#FIXME this should print the previous statement maybe
hiegrep ':\+ *{ *$' '{ should be on the same line as the related previous statement' $*