On Fri, Jul 30, 2021 at 7:00 AM Andrew 👽 Yourtchenko
<ayour...@gmail.com> wrote:
>
> However, when I run it, the "done: " label, etc. gets inserted twice:

Every return statement is the end of a function. ;)

I don't know of a way to match only the "last" return statement in a
function, maybe with scripting...
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to