On Tue, 4 Feb 2020, Markus Elfring wrote: > >> @replacement@ > >> constant c; > >> identifier text; > >> statement is, es; > >> @@ > >> <+... > > > > What is thhe point of the outer <+... ...+>? > > I would like to stress the possibility that source code adjustments > can be performed multiple times. > https://github.com/coccinelle/coccinelle/blob/a549b9f0a20e14fe9c36f45990b40dc5708ef8f2/docs/manual/cocci_syntax.tex#L696 Perhaps, but it will unnecessarily raise the running time of your semantic patch. julia _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci
- Re: [Cocci] Replacing usages ... Markus Elfring
- Re: [Cocci] Replacing a std::string check by s... Julia Lawall
- Re: [Cocci] Replacing a std::string check ... Markus Elfring
- Re: [Cocci] Searching for usage of “auto” with SmP... Markus Elfring
- Re: [Cocci] Searching for usage of “auto” with... Julia Lawall
- Re: [Cocci] Searching for usage of “auto” ... Markus Elfring
- Re: [Cocci] Replacing a std::string check by strcmp() w... wellington wallace
- Re: [Cocci] Replacing a std::string check by strcm... Markus Elfring
- Re: [Cocci] Replacing a std::string check by s... Julia Lawall
- Re: [Cocci] Replacing a std::string check ... Markus Elfring
- Re: [Cocci] Replacing a std::string ch... Julia Lawall
- Re: [Cocci] Replacing a std::stri... Markus Elfring
- Re: [Cocci] Usage concerns ar... Markus Elfring