[FFmpeg-cvslog] r17647 - trunk/tools/patcheck
michael
subversion
Fri Feb 27 19:33:46 CET 2009
Author: michael
Date: Fri Feb 27 19:33:46 2009
New Revision: 17647
Log:
Fix misdetection of #else in 'missing } prior to else'.
Modified:
trunk/tools/patcheck
Modified: trunk/tools/patcheck
==============================================================================
--- trunk/tools/patcheck Fri Feb 27 16:51:15 2009 (r17646)
+++ trunk/tools/patcheck Fri Feb 27 19:33:46 2009 (r17647)
@@ -76,7 +76,7 @@ hiegrep2 '\.long_name *=' 'NULL_IF_CONFI
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' $*
More information about the ffmpeg-cvslog
mailing list