[FFmpeg-cvslog] r17057 - trunk/tools/patcheck

michael subversion
Sun Feb 8 14:34:22 CET 2009


Author: michael
Date: Sun Feb  8 14:34:22 2009
New Revision: 17057

Log:
Fix reserved identifer detection so it doesnt detect __asm and such.

Modified:
   trunk/tools/patcheck

Modified: trunk/tools/patcheck
==============================================================================
--- trunk/tools/patcheck	Sun Feb  8 14:30:34 2009	(r17056)
+++ trunk/tools/patcheck	Sun Feb  8 14:34:22 2009	(r17057)
@@ -36,7 +36,7 @@ hiegrep '[[:space:]]$'    'trailing whit
 hiegrep "`echo x | tr 'x' '\t'`"         'tabs' $*
 #hiegrep ':\+$'          'Empty lines' $*
 hiegrep ';;'              'double ;' $*
-hiegrep '\b_[a-zA-Z0-9_]' 'reserved identifer' $*
+hiegrep2 '\b_[a-zA-Z0-9_]{1,}' '__(asm|attribute)([^a-zA-Z0-9]|$)' 'reserved identifer' $*
 hiegrep '//[-/<\* ]*$'    'empty comment' $*
 hiegrep '/\*[-<\* ]*\*/'  'empty comment' $*
 hiegrep 'for *\( *'"$ERE_PRITYP"' '  'not gcc 2.95 compatible' $*




More information about the ffmpeg-cvslog mailing list