On Thu, 23 May 2019, Markus Elfring wrote:

> > It is now possible to match the comments before, within, and after the
> > match of a token, via a comments metavariable.
>
> Are there any structures supported within source code comments?

You get a list of strings, with one comment per string.

>
> How do you think about to filter any text by regular expressions
> for semantic patch language constraints?

Not supported.

> Would you like to extend your software further so that such functionality
> will work together also with SmPL asterisks?
> https://github.com/coccinelle/coccinelle/issues/57

No idea what you want here.  The only thing you can do is collect the
comments that are before, within, or after the match of a token.  There
are no constraints.  There is no way to specify what comments should be
there.  I don't think * makes any sense in this case.

julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to