[FFmpeg-cvslog] r24574 - trunk/tools/patcheck

Benoit Fouet benoit.fouet
Thu Jul 29 15:49:16 CEST 2010


On Thu, 29 Jul 2010 15:36:54 +0200 Michael Niedermayer wrote:
> On Thu, Jul 29, 2010 at 11:30:43AM +0200, Benoit Fouet wrote:
> > On Wed, 28 Jul 2010 17:03:05 +0200 (CEST) michael wrote:
> > > Author: michael
> > > Date: Wed Jul 28 17:03:05 2010
> > > New Revision: 24574
> > > 
> > > Log:
> > > Warn about "/** text" comments.
> > > 
> > > Modified:
> > >    trunk/tools/patcheck
> > > 
> > > Modified: trunk/tools/patcheck
> > > ==============================================================================
> > > --- trunk/tools/patcheck	Wed Jul 28 14:08:26 2010	(r24573)
> > > +++ trunk/tools/patcheck	Wed Jul 28 17:03:05 2010	(r24574)
> > > @@ -51,6 +51,7 @@ hiegrep 'for *\( *'"$ERE_PRITYP"' '  'no
> > >  hiegrep '(static|inline|const) *\1'  'duplicate word' $*
> > >  hiegrep 'INIT_VLC_USE_STATIC' 'forbidden ancient vlc type' $*
> > >  hiegrep '=[-+\*\&] ' 'looks like compound assignment' $*
> > > +hiegrep2 '/\*\* *[a-zA-Z0-9].*' '\*/' 'Inconsistently formatted doxygen comment' $*
> > >  
> > 
> > This is true if it's '/\*\*', but not if it's '^/\*\*'
> 
> elaborate please
> 

to me, having the following is correct:
/** document foo */
foo

Did I miss something in the grep rule?

Ben



More information about the ffmpeg-cvslog mailing list