projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f80253
)
Fix misdetection of #else in 'missing } prior to else'.
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 27 Feb 2009 18:33:46 +0000
(18:33 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 27 Feb 2009 18:33:46 +0000
(18:33 +0000)
Originally committed as revision 17647 to svn://svn.ffmpeg.org/ffmpeg/trunk
tools/patcheck
patch
|
blob
|
history
diff --git
a/tools/patcheck
b/tools/patcheck
index
ed32ec1
..
87f412e
100755
(executable)
--- a/
tools/patcheck
+++ b/
tools/patcheck
@@
-76,7
+76,7
@@
hiegrep2 '\.long_name *=' 'NULL_IF_CONFIG_SMAL' 'missing NULL_IF_CONFIG_SMAL' $*
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' $*