On Fri, 25 Mar 2022, Markus Elfring wrote: > Hello, > > The metavariable type “constant” is supported by the semantic patch language. > Thus some data processing can be performed for literals. > > I would appreciate the support for metavariable types which will match only > string literals. > https://en.cppreference.com/w/c/language/string_literal constant char[] x; ? julia > > I guess that such a kind of metavariable would include also the enclosing > quotation characters. > But if captured data should be passed for further processing to another > scripting language, it would occasionally be more helpful to omit the double > quotes there. > Additional programming interfaces can also help to handle data parts better, > can't they? > > Would you like to work with another metavariable variant for this purpose? > > How will the chances evolve to extend the Coccinelle software accordingly? > > Regards, > Markus > >