diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-02-27 18:33:46 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-02-27 18:33:46 +0000 |
commit | 0f485a9c8b84cec3222472b74359c6162841cb32 (patch) | |
tree | 050321852bbb1ccfae341f03718d714e3ad1b5d9 /tools/patcheck | |
parent | 7f8025349a0448ac5226a4071ea88a132b4e47ff (diff) | |
download | ffmpeg-0f485a9c8b84cec3222472b74359c6162841cb32.tar.gz |
Fix misdetection of #else in 'missing } prior to else'.
Originally committed as revision 17647 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tools/patcheck')
-rwxr-xr-x | tools/patcheck | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patcheck b/tools/patcheck index ed32ec1db8..87f412e731 100755 --- 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' $* |