On Wed, 5 Dec 2018, Timur Tabi wrote:

> On Wed, Dec 5, 2018 at 12:47 AM Julia Lawall <julia.law...@lip6.fr> wrote:
> >
> > > and now it works.  I don't know why I needed the +'s, but at least it
> > > works now.  Thanks.
> >
> > This means that the rule only applies when there is at least one
> > occurrence of the pattern in between the <+... ...+>.
>
> Unfortunately, on some files, adding the + significantly slows down
> the script.  It stalls for about 15-20 seconds a few times during
> parsing.  Normally the while script takes about 1-2 seconds to run.  I
> believe coccinelle is having trouble finding the functions because
> some my source files abuse C macros.

That wouldn't change by using <+... ...+>

Could you send the rule again?  I could make another suggestion.

julia
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to