mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Fix misdetection of #else in 'missing } prior to else'.
Originally committed as revision 17647 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7f8025349a
commit
0f485a9c8b
@ -76,7 +76,7 @@ hiegrep2 '\.long_name *=' 'NULL_IF_CONFIG_SMAL' 'missing NULL_IF_CONFIG_SMAL' $*
|
||||
|
||||
hiegrep2 "$ERE_TYPES" '(static|av_|ff_|typedef|:\+[^a-zA-Z_])' 'Non static with no ff_/av_ prefix' $*
|
||||
|
||||
hiegrep ':\+[^}]*else' 'missing } prior to else' $*
|
||||
hiegrep ':\+[^}#]*else' 'missing } prior to else' $*
|
||||
|
||||
#FIXME this should print the previous statement maybe
|
||||
hiegrep ':\+ *{ *$' '{ should be on the same line as the related previous statement' $*
|
||||
|
Loading…
Reference in New Issue
Block a user