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

Originally committed as revision 17057 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2009-02-08 13:34:22 +00:00
parent 3d8f9025b1
commit 74892f7a4e
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ hiegrep '[[:space:]]$' 'trailing whitespace' $*
hiegrep "`echo x | tr 'x' '\t'`" 'tabs' $* hiegrep "`echo x | tr 'x' '\t'`" 'tabs' $*
#hiegrep ':\+$' 'Empty lines' $* #hiegrep ':\+$' 'Empty lines' $*
hiegrep ';;' 'double ;' $* 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 '/\*[-<\* ]*\*/' 'empty comment' $* hiegrep '/\*[-<\* ]*\*/' 'empty comment' $*
hiegrep 'for *\( *'"$ERE_PRITYP"' ' 'not gcc 2.95 compatible' $* hiegrep 'for *\( *'"$ERE_PRITYP"' ' 'not gcc 2.95 compatible' $*