Skip to content

Commit

Permalink
Fix reserved identifer detection so it doesnt detect __asm and such.
Browse files Browse the repository at this point in the history
Originally committed as revision 17057 to svn://svn.ffmpeg.org/ffmpeg/trunk
  • Loading branch information
michaelni committed Feb 8, 2009
1 parent 3d8f902 commit 74892f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/patcheck
Original file line number Diff line number Diff line change
Expand Up @@ -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' $*
Expand Down

0 comments on commit 74892f7

Please sign in to comment.