Browse code

Fix misdetection of #else in 'missing } prior to else'.

Originally committed as revision 17647 to svn://svn.ffmpeg.org/ffmpeg/trunk

Michael Niedermayer authored on 2009/02/28 03:33:46
Showing 1 changed files
... ...
@@ -76,7 +76,7 @@ hiegrep2 '\.long_name *=' 'NULL_IF_CONFIG_SMAL' 'missing NULL_IF_CONFIG_SMAL' $*
76 76
 
77 77
 hiegrep2 "$ERE_TYPES" '(static|av_|ff_|typedef|:\+[^a-zA-Z_])' 'Non static with no ff_/av_ prefix' $*
78 78
 
79
-hiegrep ':\+[^}]*else' 'missing } prior to else' $*
79
+hiegrep ':\+[^}#]*else' 'missing } prior to else' $*
80 80
 
81 81
 #FIXME this should print the previous statement maybe
82 82
 hiegrep ':\+  *{ *$' '{ should be on the same line as the related previous statement' $*