Skip to content

Commit

Permalink
Clarify whitespace nitpicks in patcheck.
Browse files Browse the repository at this point in the history
Originally committed as revision 25435 to svn://svn.ffmpeg.org/ffmpeg/trunk
  • Loading branch information
michaelni committed Oct 10, 2010
1 parent f167a1a commit 54ce8a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/patcheck
Original file line number Diff line number Diff line change
Expand Up @@ -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' $*
Expand Down

0 comments on commit 54ce8a4

Please sign in to comment.