>> I would like to avoid the repetition of parsing efforts as much as possible.
>> Under which circumstances can replacement lists be taken better into account?
>
> Why does my suggestion involve a repetition of parsing effort?
The selection of the applied programming interfaces has got
On Mon, 5 Apr 2021, Markus Elfring wrote:
> >> I would like to avoid the repetition of parsing efforts as much as
> >> possible.
> >> Under which circumstances can replacement lists be taken better into
> >> account?
> >
> > Why does my suggestion involve a repetition of parsing effort?
>
>
On Mon, 5 Apr 2021, Markus Elfring wrote:
> >> @display@
> >> identifier i =~ "^(?:[A-Z]+_){3,3}[A-Z]+", x;
> >> constant c =~ "\"";
> >> @@
> >> *#define i x c
> >>
> >>
> >> elfring@Sonne:~/Projekte/Coccinelle/janitor> spatch --parse-cocci
> >> show_define_usage6.cocci
> >> …
> >> minus:
On Mon, 5 Apr 2021, Markus Elfring wrote:
> > Thanks for the simpler examples.
>
> Would you like to support another search pattern by the means of
> the semantic patch language?
>
>
> @display@
> identifier i =~ "^(?:[A-Z]+_){3,3}[A-Z]+", x;
> constant c =~ "\"";
> @@
> *#define i x c
>
>
>