diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-10-08 19:11:36 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-10-08 19:11:36 +0000 |
commit | f47d172f13f97edd8300403f370d11f29274f11c (patch) | |
tree | 5d03ab69d660ec0fb0cdc2462ff6bf3fae2945b5 /tools/patcheck | |
parent | d1f676b8d455f095f2bd9b803894e0e89d072603 (diff) | |
download | ffmpeg-f47d172f13f97edd8300403f370d11f29274f11c.tar.gz |
Check for more 'indent -kr' whitespace details.
Originally committed as revision 25417 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tools/patcheck')
-rwxr-xr-x | tools/patcheck | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/patcheck b/tools/patcheck index 733272e801..ce07031e24 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -95,6 +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' $* #FIXME this should print the previous statement maybe hiegrep ':\+ *{ *$' '{ should be on the same line as the related previous statement' $* |