Commit 74892f7a authored by Michael Niedermayer's avatar Michael Niedermayer

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

Originally committed as revision 17057 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3d8f9025
......@@ -36,7 +36,7 @@ hiegrep '[[:space:]]$' 'trailing whitespace' $*
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' $*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment